Skip to content

Commit 4c23372

Browse files
committed
Add nableRtos::getMainLoopTaskHandle method
1 parent d9b171c commit 4c23372

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

cores/nRF5/rtos.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,8 @@ uint32_t nableRtos::getIsrStackHwm() {
9393
return offset;
9494
}
9595

96+
TaskHandle_t nableRtos::getMainLoopTaskHandle() {
97+
return ::getMainLoopTaskHandle();
98+
}
99+
96100
nableRtos RTOS;

cores/nRF5/rtos.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class nableRtos {
3737
uint32_t getTimerTaskHwm();
3838
uint32_t getBleHostTaskHwm();
3939
uint32_t getBleLLTaskHwm();
40+
TaskHandle_t getMainLoopTaskHandle();
4041
};
4142

4243
extern nableRtos RTOS;

0 commit comments

Comments
 (0)