combine lib to one

Dependents:   BMS

Files at this revision

API Documentation at this revision

Comitter:
roger5641
Date:
Wed Jan 17 08:27:39 2018 +0000
Parent:
2:9f8d97b7fb58
Commit message:
check open wire test; 20 command some problems

Changed in this revision

bms_master.h Show annotated file Show diff for this revision Revisions of this file
--- a/bms_master.h	Wed Dec 20 06:40:21 2017 +0000
+++ b/bms_master.h	Wed Jan 17 08:27:39 2018 +0000
@@ -550,9 +550,9 @@
   for (int i =0; i<total_ic; i++)
   {
     CS_PIN = 0;
-    wait_ms(300); // Guarantees the LTC6813 will be in standby
+    wait_us(300); // Guarantees the LTC6813 will be in standby
     CS_PIN = 1;
-    wait_ms(10);
+    wait_us(10);
   }
 }