CHECK
Dependents: Bob_Curtain_Sample_0506
Diff: SysClockConf.cpp
- Revision:
- 12:727468adfd1d
- Parent:
- 11:e0edd7ea602a
diff -r e0edd7ea602a -r 727468adfd1d SysClockConf.cpp --- a/SysClockConf.cpp Sat May 27 16:25:10 2017 +0000 +++ b/SysClockConf.cpp Sat Jun 24 19:05:15 2017 +0000 @@ -29,9 +29,6 @@ #include "SysClockConf.h" #include "mbed.h" -extern volatile uint32_t tim_it_counter; -volatile uint32_t tim_init; - void HSE_SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct; RCC_ClkInitTypeDef RCC_ClkInitStruct; @@ -57,7 +54,6 @@ } void confSysClock(void) { - tim_init = tim_it_counter; HAL_RCC_DeInit(); HSE_SystemClock_Config(); SystemCoreClockUpdate();