mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +00:00
stm32-f4discovery-usb: temp disable sleep mode until effect on RTT is clear
This commit is contained in:
parent
a8ae57e4d8
commit
8b703f3d8c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user