BMS_T2

Dependencies:   INA226

Revision:
2:3bbbe439ec11
Parent:
1:4dd3e328a30b
--- a/LTC681x.cpp	Fri Feb 09 04:43:04 2018 +0000
+++ b/LTC681x.cpp	Tue Oct 13 06:26:34 2020 +0000
@@ -623,7 +623,8 @@
     cell_data = (uint8_t *) malloc((NUM_RX_BYT*total_ic)*sizeof(uint8_t));
 
     if (reg == 0) {
-        for (uint8_t cell_reg = 1; cell_reg<ic[0].ic_reg.num_cv_reg+1; cell_reg++) {                 //executes once for each of the LTC6811 cell voltage registers
+        for (uint8_t cell_reg = 1; cell_reg<ic[0].ic_reg.num_cv_reg+1; cell_reg++) {                 //
+        
             LTC681x_rdcv_reg(cell_reg, total_ic,cell_data );
             for (int current_ic = 0; current_ic<total_ic; current_ic++) {
                 if (ic->isospi_reverse == false) {
@@ -1084,7 +1085,7 @@
     return(error);
 }
 
-//Runs the datasheet algorithm for open wire
+//Runs the datasheet algorithm for open wire //オープンワイヤに対してデータシートアルゴリズムを実行します
 void LTC681x_run_openwire(uint8_t total_ic, cell_asic ic[])
 {
     uint16_t OPENWIRE_THRESHOLD = 4000;