stm32-f4discovery-usb: temp disable sleep mode until effect on RTT is clear

This commit is contained in:
Matthias Ringwald 2021-01-29 00:29:45 +01:00
parent a8ae57e4d8
commit 8b703f3d8c

View File

@ -85,7 +85,11 @@ void hal_cpu_enable_irqs(void){
void hal_cpu_enable_irqs_and_sleep(void){
__enable_irq();
__asm__("wfe"); // go to sleep if event flag isn't set. if set, just clear it. IRQs set event flag
#if 0
// temp disable until effect on RTT is clear
// go to sleep if event flag isn't set. if set, just clear it. IRQs set event flag
// __asm__("wfe");
#endif
}
#define HAL_FLASH_BANK_SIZE (128 * 1024)