Update postRTOS.cpp
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user