Skip to content

Commit d702d95

Browse files
anhmolteivindj-nordic
authored andcommitted
softdevice_handler: remove unused SoC events from string table
The SoC events in question are currently not used in S115. Also, the ifdefs do not work as intended. Signed-off-by: Andreas Moltumyr <[email protected]>
1 parent 7832db4 commit d702d95

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

subsys/softdevice_handler/nrf_sdh_soc.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ static const char *tostr(uint32_t evt)
3434
return "A radio timeslot session is idle";
3535
case NRF_EVT_RADIO_SESSION_CLOSED:
3636
return "A radio timeslot session is closed";
37-
#if defined(NRF_EVT_POWER_USB_POWER_READY)
38-
case NRF_EVT_POWER_USB_POWER_READY:
39-
return "A USB 3.3 V supply is ready";
40-
#endif
41-
#if defined(NRF_EVT_POWER_USB_DETECTED)
42-
case NRF_EVT_POWER_USB_DETECTED:
43-
return "Voltage supply is detected on VBUS";
44-
#endif
45-
#if defined(NRF_EVT_POWER_USB_REMOVED)
46-
case NRF_EVT_POWER_USB_REMOVED:
47-
return "Voltage supply is removed from VBUS";
48-
#endif
4937
default:
5038
return "Unknown";
5139
}

0 commit comments

Comments
 (0)