示例#1
0
文件: main.c 项目: fliedpig/ALF-llvm
void send_data_to_autopilot_task(void)
{
   if ( !SpiIsSelected() && spi_was_interrupted ) 
   {
      spi_was_interrupted = FALSE;
      to_autopilot_from_last_radio();
      spi_reset();
   }
}
示例#2
0
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
}
示例#3
0
文件: main_fbw.c 项目: wanborj/PSEFM
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

}
示例#4
0
void  vTask_1()
{
    to_autopilot_from_last_radio();  //main_auto.c
    spi_reset(); // spi_fbw.h
}