浏览代码

GET BATTERY LIMITS logic minor updates

namrota ghosh 6 月之前
父节点
当前提交
118640ab8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/controller/controller.c

+ 1 - 1
src/controller/controller.c

@@ -146,7 +146,7 @@ bool getBatteryMeasurement(uint8_t slot_id){
     rxPacket.rxCount= 0;
     rxPacket.rxLen= 8;
     rxPacket.rxComplete= false;
-    timeout= 3200000;
+    timeout= 32000;
 
     //Make RX Buffer ready to receive the data
     //DL_I2C_flushControllerRXFIFO(I2C_1_INST);