Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SysClockConf.cpp
- Revision:
- 12:727468adfd1d
- Parent:
- 11:e0edd7ea602a
- Child:
- 13:8d73bb919709
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();