zhyinch
2021-09-13 2ee2901d9c4b393be084a4ef2f501462704ad940
源码/核心板/Src/main.c
@@ -91,7 +91,8 @@
      {
         module_power=67;
      }
      g_com_map[VERSION] = 0x0124;
      g_com_map[VERSION] = 0x012c;
        g_com_map[SW_TYPE] =    SW_MODBUS;
   temp=(float)g_com_map[MAX_REPORT_ANC_NUM]*4/3;   
   temp2=g_com_map[MAX_REPORT_ANC_NUM]*4/3;
   if(temp2<temp)
@@ -202,6 +203,11 @@
   Modbus_RegMap();
   while(1)
   {
    if(g_com_map[0] != 0x55AA)
   {
        while(1)
        IdleTask();
    }
   if(g_start_send_flag)
   {
      g_start_send_flag = 0;