diff --git a/epicardium/ble/ble_main.c b/epicardium/ble/ble_main.c index ceb399bca70ab54c2015a3251ffa73226bc1b30b..a5522b4e741413cc2af4d239ac96d9dd8fa5c7a2 100644 --- a/epicardium/ble/ble_main.c +++ b/epicardium/ble/ble_main.c @@ -593,7 +593,10 @@ static void trigger_event(enum ble_event_type event) { bool enabled; epic_interrupt_is_enabled(EPIC_INT_BLE, &enabled); - if(ble_event && enabled) { + + /* Print a warning if the app is missing events. Missing scan results + * is considered OK though, as they are queued and periodic. */ + if(ble_event && enabled && ble_event != BLE_EVENT_SCAN_REPORT) { LOG_WARN("ble", "Application missed event %u", ble_event); }