1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-15 23:05:45 +00:00

fix(core): fix BLE polling

[no changelog]
This commit is contained in:
tychovrahe 2025-04-01 19:46:40 +02:00 committed by TychoVrahe
parent 7248bf2a48
commit 101d584aa4

View File

@ -721,7 +721,7 @@ static void on_ble_poll(void *context, bool read_awaited, bool write_awaited) {
if (read_awaited) {
irq_key_t key = irq_lock();
bool queue_is_empty = !tsqueue_empty(&drv->event_queue);
bool queue_is_empty = tsqueue_empty(&drv->event_queue);
irq_unlock(key);
syshandle_signal_read_ready(SYSHANDLE_BLE, &queue_is_empty);