| | |
| | | } |
| | | |
| | | } |
| | | uint16_t gaodu; |
| | | uint8_t guanjiflag; |
| | | uint8_t heartbeasend_flag; |
| | | uint32_t guanjiflagtime; |
| | |
| | | HIDO_TimerTick(); |
| | | // if(nomove_count<=g_com_map[NOMOVESLEEP_TIME])//防止溢出 |
| | | nomove_count++; |
| | | gaodu=GetPressAndHeight()*100; |
| | | // else{ |
| | | // nomove_count=g_com_map[NOMOVESLEEP_TIME]+1; |
| | | // } |
| | |
| | | // } |
| | | g_com_map[MODBUS_MODE] = 0; |
| | | log_4g_enable_flag=g_com_map[LOG_4G_ENABLE]; |
| | | g_com_map[VERSION] = (1<<8)|22; |
| | | g_com_map[VERSION] = (1<<8)|23; |
| | | |
| | | |
| | | LOG_INFO(TRACE_MODULE_APP,"设备ID: %x .\r\n",dev_id); |
| | |
| | | int test1,test3; |
| | | uint32_t test4; |
| | | extern uint8_t receive_flag; |
| | | uint16_t gaodu; |
| | | static void app_wdt_callback(void *dev, uint32_t status) |
| | | { |
| | | ASSERT(status, "WDT TIMEOUT,程序复位"); |