Przeglądaj źródła

GET BATTERY LIMITS logic minor updates

namrota ghosh 6 miesięcy temu
rodzic
commit
118640ab8c
1 zmienionych plików z 1 dodań i 1 usunięć
  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);