int main(void) { halInit(); chSysInit(); start_sys(); delay(1000); OBC_comm_init(); while(TRUE) { /** * User code goes here. This loop will be executed at 100Hz */ // example_function_1(); // example_function_2(); //testing dbg msg // OBC_debug(1, 265.658); // OBC_debug(5, 0.157946); delay(1000); } return 0; }
void QDriveWatcher::start() { startStopCounter.ref(); if (startStopCounter == 1) { if (!start_sys()) stop(); } }