HeptaBattery library

Dependencies:   PowerControl

Dependents:   HEPTA_EPS

Revision:
5:15a6a4425889
Parent:
4:65dc53760aa0
Child:
6:869e6fe3ba64
--- a/HeptaBattery.cpp	Mon Sep 04 16:27:30 2017 +0000
+++ b/HeptaBattery.cpp	Tue Sep 05 12:46:27 2017 +0000
@@ -17,7 +17,7 @@
     _bat_ct = 0;
 }
 
-void HeptaBattery::vol_u16(char* bt_u16, int *dsize)
+void HeptaBattery::vol_u16(char* bt_u16)
 {
     unsigned short bt_datas;
     char bt1[8]= {0x00},bt2[8]= {0x00};
@@ -28,7 +28,7 @@
     bt_u16[1]=bt1[1];
     bt_u16[2]=bt2[0];
     bt_u16[3]=bt2[1];
-    *dsize = 4;
+    //*dsize = 4;
 }
 
 void HeptaBattery::power_saving_mode()