We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fae6e1 commit 1b09cf2Copy full SHA for 1b09cf2
nimble/drivers/dialog_cmac/src/ble_phy.c
@@ -1369,6 +1369,7 @@ ble_phy_rx_set_start_time(uint32_t cputime, uint8_t rem_usecs)
1369
{
1370
uint32_t ll_val32;
1371
int32_t time_till_start;
1372
+ int rc = 0;
1373
1374
MCU_DIAG_SER('r');
1375
@@ -1404,11 +1405,12 @@ ble_phy_rx_set_start_time(uint32_t cputime, uint8_t rem_usecs)
1404
1405
/* We missed start. Start now */
1406
CMAC->CM_EV_LINKUP_REG =
1407
CMAC_CM_EV_LINKUP_REG_LU_FRAME_START_2_ASAP_Msk;
1408
+ rc = BLE_PHY_ERR_RX_LATE;
1409
}
1410
1411
__enable_irq();
1412
- return 0;
1413
+ return rc;
1414
1415
1416
int
0 commit comments