void send_data_to_autopilot_task(void) { if ( !SpiIsSelected() && spi_was_interrupted ) { spi_was_interrupted = FALSE; to_autopilot_from_last_radio(); spi_reset(); } }
void _Pragma("entrypoint") send_data_to_autopilot_task(void) { #ifndef WCET_ANALYSIS if ( !SpiIsSelected() && spi_was_interrupted ) { spi_was_interrupted = FALSE; to_autopilot_from_last_radio(); spi_reset(); } #endif }
void send_data_to_autopilot_task(void) { //vPrintString("S_2 send_data_to_autopilot_task start! \n\r"); //SunnyBeike // modified by wanbo // if ( !SpiIsSelected() && spi_was_interrupted ) { spi_was_interrupted = FALSE; to_autopilot_from_last_radio(); spi_reset(); } //vPrintString("S_2 send_data_to_autopilot_task end! \n\r"); //SunnyBeike }
void vTask_1() { to_autopilot_from_last_radio(); //main_auto.c spi_reset(); // spi_fbw.h }