12345678910111213141516171819202122 |
- #include "bexus_modes.h"
- /**----------------variables---------------------------*/
- short Debug=0;
- short isMaster=1;
- short mode_select=0;
- short heartbeat=0;
- short new_data_received;
- uint32_t timer_normal_mode[2]={0,0};
- /**-----------------------------------------------------*/
- /**------------------functions--------------------------*/ //TBR
- void Mode_Select(void){
- if(heartbeat == 1){
- mode_select = MODE_NORMAL;
- }
- else{
- mode_select = MODE_SINGLE;
- }
- }
- /**-----------------------------------------------------*/
|