Skip to content

Commit 4a7c9a9

Browse files
committed
Nordic BLE: expose publically btle_handler
1 parent 2af5508 commit 4a7c9a9

File tree

1 file changed

+4
-4
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle

1 file changed

+4
-4
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle/btle.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ void app_error_handler(uint32_t error_code, uint32_t line_num, const
7676
extern "C" void SD_EVT_IRQHandler(void); // export the softdevice event handler for registration by nvic-set-vector.
7777

7878
#if NRF_SDK14PLUS_EVENT_HANDLERS
79-
static void btle_handler(const ble_evt_t *p_ble_evt, void *p_context);
79+
void btle_handler(const ble_evt_t *p_ble_evt, void *p_context);
8080
#else
81-
static void btle_handler(ble_evt_t *p_ble_evt);
81+
void btle_handler(ble_evt_t *p_ble_evt);
8282
#endif
8383

8484
#if !NRF_SDK14PLUS_EVENT_HANDLERS
@@ -263,9 +263,9 @@ error_t btle_init(void)
263263
}
264264

265265
#if NRF_SDK14PLUS_EVENT_HANDLERS
266-
static void btle_handler(const ble_evt_t *p_ble_evt, void *p_context)
266+
void btle_handler(const ble_evt_t *p_ble_evt, void *p_context)
267267
#else
268-
static void btle_handler(ble_evt_t *p_ble_evt)
268+
void btle_handler(const ble_evt_t *p_ble_evt)
269269
#endif
270270
{
271271
#if NRF_SDK14PLUS_EVENT_HANDLERS

0 commit comments

Comments
 (0)