1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-26 09:52:34 +00:00

fix(core): fix wakeup flags in nrf lib [no changelog]

This commit is contained in:
kopecdav 2025-05-07 18:22:41 +02:00 committed by kopecdav
parent 39c5c9b068
commit 3795ba9fc4

View File

@ -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