File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 30
30
#include "sleep_api.h"
31
31
#include "cmsis.h"
32
32
33
+ // This function is only necessary if the HSE is used.
34
+ /*
33
35
static void SYSCLKConfig_STOP(void)
34
36
{
35
37
ErrorStatus HSEStartUpStatus;
@@ -45,6 +47,7 @@ static void SYSCLKConfig_STOP(void)
45
47
while(RCC_GetSYSCLKSource() != 0x08) {} // Wait till PLL is used as system clock source
46
48
}
47
49
}
50
+ */
48
51
49
52
void sleep (void )
50
53
{
@@ -63,5 +66,5 @@ void deepsleep(void)
63
66
// At this stage the system has resumed from STOP mode.
64
67
// Re-configure the system clock: enable HSE, PLL and select
65
68
// PLL as system clock source (because HSE and PLL are disabled in STOP mode).
66
- SYSCLKConfig_STOP ();
69
+ // SYSCLKConfig_STOP();
67
70
}
You can’t perform that action at this time.
0 commit comments