| | |
| | | |
| | | #define NSH1 0x0001 |
| | | #define GP 0x0002 |
| | | //#define DEBUG_MODE |
| | | #define DEBUG_MODE |
| | | /* USER CODE END Includes */ |
| | | |
| | | /* Private typedef -----------------------------------------------------------*/ |
| | |
| | | { |
| | | g_com_map[MOTORBEEPER_INDEX] = 2; |
| | | } |
| | | hardware_type = g_com_map[MOTORBEEPER_INDEX]; |
| | | hardware_type = 1;//g_com_map[MOTORBEEPER_INDEX];; |
| | | switch(hardware_type) |
| | | { |
| | | case 1: |
| | |
| | | if(g_start_send_flag&&active_flag) |
| | | { static uint16_t blink_count=0; |
| | | g_start_send_flag = 0; |
| | | static u8 uwbcount =0; |
| | | // GetPressAndTemp(); |
| | | // if(current_count>slot_startcount&¤t_count<slot_startcount+interval_count) |
| | | // { |
| | |
| | | Tag_App(); |
| | | LED_TR_OFF; |
| | | } |
| | | |
| | | __enable_irq(); |
| | | //LED0_BLINK; |
| | | IdleTask(); |