소스 검색

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);