diff --git a/.clang-format b/.clang-format index 9084d8e..593cd3a 100644 --- a/.clang-format +++ b/.clang-format @@ -17,7 +17,7 @@ # WebKit A style complying with WebKit’s style guide #BasedOnStyle: -# TabWidth (unsigned) +# TabWidth (unsigned)/ # The number of columns used for tab stops. TabWidth: 4 @@ -56,7 +56,7 @@ Language: Cpp Standard: Cpp11 # Pointer and reference alignment style. Possible values: Left, Right, Middle. -PointerAlignment: Left +PointerAlignment: Right # AccessModifierOffset (int) # The extra indent or outdent of access modifiers, e.g. public:. diff --git a/CMakeLists.txt b/CMakeLists.txt index aa88883..0e5c4ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ target_sources(${CMAKE_PROJECT_NAME} PRIVATE target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE # Add user defined include paths Core/Inc + Core/MY_BLOCKS ) # Add project symbols (macros) diff --git a/Core/Src/stm32h7xx_it.c b/Core/Src/stm32h7xx_it.c index ce0ac0b..750aa03 100644 --- a/Core/Src/stm32h7xx_it.c +++ b/Core/Src/stm32h7xx_it.c @@ -198,6 +198,9 @@ void USART3_IRQHandler (void) { HAL_UART_IRQHandler (&huart3); /* USER CODE BEGIN USART3_IRQn 1 */ #endif + + #include "MY_TIM6.h" + /* USER CODE END USART3_IRQn 1 */ }