diff --git a/Core/Inc/functions.h b/Core/Inc/functions.h index ece3912..3b587a1 100644 --- a/Core/Inc/functions.h +++ b/Core/Inc/functions.h @@ -9,7 +9,7 @@ #ifndef FUNCTIONS_H_ #define FUNCTIONS_H_ -void maine(); +void Cppmain(); void accelerer(); void ralentir(); diff --git a/Core/Src/functions.c b/Core/Src/functions.c index 7dae3f5..c4ddb1a 100644 --- a/Core/Src/functions.c +++ b/Core/Src/functions.c @@ -27,7 +27,7 @@ void ralentir(){ -void maine(){ +void Cppmain(){ GPIOC->ODR ^= (1<<10); TIM3->CCR4 = 0; diff --git a/Core/Src/main.c b/Core/Src/main.c index c9f4372..05ab522 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -106,7 +106,7 @@ int main(void) /* USER CODE BEGIN 3 */ - maine(); + Cppmain(); }