Browse Source

GET BATTERY LIMITS logic minor updates

namrota ghosh 6 months ago
parent
commit
118640ab8c
1 changed files with 1 additions and 1 deletions
  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);