File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,8 @@ ble::vendor::cordio::buf_pool_desc_t NRFCordioHCIDriver::get_buffer_pool_descrip
250
250
return buf_pool_desc_t (buffer, pool_desc);
251
251
}
252
252
253
+ extern " C" void TIMER2_IRQHandler ();
254
+
253
255
void NRFCordioHCIDriver::do_initialize ()
254
256
{
255
257
if (_is_init) {
@@ -298,6 +300,7 @@ void NRFCordioHCIDriver::do_initialize()
298
300
299
301
// For some reason, the mbed target uses this (TIMER0_IRQHandler_v) vector name instead of the "standard" TIMER0_IRQHandler one
300
302
NVIC_SetVector (TIMER0_IRQn, (uint32_t )TIMER0_IRQHandler);
303
+ NVIC_SetVector (TIMER2_IRQn, (uint32_t )TIMER2_IRQHandler);
301
304
302
305
// Extremely ugly
303
306
for (uint32_t irqn = 0 ; irqn < 32 ; irqn++)
You can’t perform that action at this time.
0 commit comments