diff options
author | Paul Selkirk <paul@psgd.org> | 2017-08-31 17:38:05 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-08-31 17:38:05 -0400 |
commit | ceee42024b728a878063548ea245c47a951be29f (patch) | |
tree | e829a832c66faf6f63927ab9fe1d2980e81a349e /stm-init.c | |
parent | d283110c051fbd20792bedb7bd67239e30c2a29a (diff) |
Cleanup
Diffstat (limited to 'stm-init.c')
-rw-r--r-- | stm-init.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -115,10 +115,6 @@ static void MX_GPIO_Init(void) } #endif -#ifdef CMSIS_RTOS -#include "cmsis_os.h" -#endif - /** * @brief This function is executed in case of error occurrence. * @param None @@ -129,10 +125,6 @@ void Error_Handler(void) #ifdef HAL_GPIO_MODULE_ENABLED HAL_GPIO_WritePin(LED_PORT, LED_RED, GPIO_PIN_SET); #endif -#ifdef CMSIS_RTOS - //osThreadSetPriority(osThreadGetId(), osPriorityIdle); - osThreadTerminate(osThreadGetId()); -#endif while (1) { ; } } |