Skip to content

Commit 3316e7f

Browse files
paul-szczepanek-armpan-
authored andcommitted
shutdown timer on deinit
1 parent 981eaed commit 3316e7f

File tree

1 file changed

+1
-0
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources

1 file changed

+1
-0
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources/pal_timer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ void PalTimerDeInit(void)
235235

236236
/* stop timer */
237237
NRF_TIMER2->TASKS_STOP = 1;
238+
NRF_TIMER2->TASKS_SHUTDOWN = 1;
238239
#endif
239240
#endif
240241

0 commit comments

Comments
 (0)