FML/lora.c
@@ -296,6 +296,8 @@ if(lora_rxbuf[4]==0x02)//接收下发修改GPS开关时间参数 { memcpy(&lora_recv_gpstime,&lora_rxbuf[5],2); if(lora_recv_gpstime<=1800) lora_recv_gpstime=1800; g_com_map[GPS_ONTIME]=lora_recv_gpstime; save_com_map_to_flash(); delay_ms(100); @@ -304,6 +306,8 @@ if(lora_rxbuf[4]==0x03)//接收下发修改静止休眠时间参数 { memcpy(&lora_recv_gpstime,&lora_rxbuf[5],2); if(lora_recv_gpstime<=10) lora_recv_gpstime=10; g_com_map[NOMOVESLEEP_TIME]=lora_recv_gpstime; save_com_map_to_flash(); delay_ms(100);