1
0
forked from me/IronOS

Update postRTOS.cpp

This commit is contained in:
Ben V. Brown
2022-10-21 20:02:33 +11:00
parent 736bedc51a
commit 69c2d475e3

View File

@@ -11,6 +11,9 @@
#include "task.h"
bool hall_effect_present = false;
extern "C" {
void ble_stack_start(void);
};
void postRToSInit() {
// Any after RTos setup
#ifdef HALL_SI7210
@@ -18,6 +21,7 @@ void postRToSInit() {
hall_effect_present = Si7210::init();
}
#endif
ble_stack_start();
}
int16_t getRawHallEffect() {
if (hall_effect_present) {