mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-26 18:02:35 +00:00
fix(core): fix wakeup flags in nrf lib [no changelog]
This commit is contained in:
parent
39c5c9b068
commit
3795ba9fc4
@ -27,7 +27,7 @@
|
||||
#include <sys/mpu.h>
|
||||
#include <sys/systick.h>
|
||||
#include <sys/systimer.h>
|
||||
#include <sys/wakeup_flags.h>
|
||||
#include <sys/power_manager.h>
|
||||
#include <util/tsqueue.h>
|
||||
|
||||
#include "../crc8.h"
|
||||
@ -803,7 +803,7 @@ void NRF_EXTI_INTERRUPT_HANDLER(void) {
|
||||
#ifdef USE_POWERCTL
|
||||
if (drv->wakeup) {
|
||||
// Inform the powerctl module about nrf/ble wakeup
|
||||
wakeup_flags_set(WAKEUP_FLAG_BLE);
|
||||
pm_wakeup_flags_set(PM_WAKEUP_FLAG_BLE);
|
||||
drv->wakeup = false;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user