static inline void main_periodic(void) { uint16_t v1 = 123; uint16_t v2 = 123; imu_periodic(); #ifdef PASSTHROUGH_CYGNUS autopilot_periodic(); #endif OveroLinkPeriodic(on_overo_link_lost); RunOnceEvery(10, { LED_PERIODIC(); DOWNLINK_SEND_ALIVE(DefaultChannel, 16, MD5SUM); radio_control_periodic(); check_radio_lost(); DOWNLINK_SEND_BARO_RAW(DefaultChannel, &baro.absolute, &baro.differential); });
void baro_downlink_raw( void ) { DOWNLINK_SEND_BARO_RAW(DefaultChannel,&baro.absolute,&baro.differential); }