Skip to content

Commit a7fe7c9

Browse files
committed
Init header id with invalid value
1 parent 6e33825 commit a7fe7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ uint32_t proc_ble(void)
416416

417417
// Init header
418418
ble_evt_t* evt = (ble_evt_t*) ev_buf;
419-
evt->header.evt_id = 0;
419+
evt->header.evt_id = BLE_EVT_INVALID;
420420

421421
// Get BLE Event
422422
uint32_t err = sd_ble_evt_get(ev_buf, &ev_len);

0 commit comments

Comments
 (0)