diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-11 11:36:52 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-11 11:36:52 +0200 |
commit | 8665bdbf682bdff02576a6f4393f09bc56572043 (patch) | |
tree | 54b1f51c0b3e5f5dd577720a9cd54e28be19d97f /stm32cubemx/Src | |
parent | eabbd037f5f605a9ecf06185cd62594eb4564bce (diff) | |
download | radio-controller-8665bdbf682bdff02576a6f4393f09bc56572043.tar.gz radio-controller-8665bdbf682bdff02576a6f4393f09bc56572043.tar.bz2 radio-controller-8665bdbf682bdff02576a6f4393f09bc56572043.tar.xz radio-controller-8665bdbf682bdff02576a6f4393f09bc56572043.zip |
wip
Diffstat (limited to 'stm32cubemx/Src')
-rw-r--r-- | stm32cubemx/Src/main.c | 2 | ||||
-rw-r--r-- | stm32cubemx/Src/stm32f1xx_it.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stm32cubemx/Src/main.c b/stm32cubemx/Src/main.c index 0afb615..e0e60be 100644 --- a/stm32cubemx/Src/main.c +++ b/stm32cubemx/Src/main.c @@ -47,7 +47,7 @@ #include "usb_device.h" /* USER CODE BEGIN Includes */ - +#include "radio-controller.h" /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ diff --git a/stm32cubemx/Src/stm32f1xx_it.c b/stm32cubemx/Src/stm32f1xx_it.c index a71b015..02f62b2 100644 --- a/stm32cubemx/Src/stm32f1xx_it.c +++ b/stm32cubemx/Src/stm32f1xx_it.c @@ -36,7 +36,7 @@ #include "stm32f1xx_it.h" /* USER CODE BEGIN 0 */ -#include "main.h" +#include <radio-controller.h> /* USER CODE END 0 */ /* External variables --------------------------------------------------------*/ @@ -234,7 +234,7 @@ void USB_LP_CAN1_RX0_IRQHandler(void) void TIM1_TRG_COM_IRQHandler(void) { /* USER CODE BEGIN TIM1_TRG_COM_IRQn 0 */ - it_tim1(&htim1); + it_tim1(); /* USER CODE END TIM1_TRG_COM_IRQn 0 */ HAL_TIM_IRQHandler(&htim1); /* USER CODE BEGIN TIM1_TRG_COM_IRQn 1 */ |