Hepta UplinkData Q

Dependencies:   mbed PowerControl SDFileSystem

Fork of Hepta_UplinkData_Q by 智也 大野

Revision:
2:5a182125ca0f
Parent:
0:edad9f0f386a
--- a/hepta_sat/HeptaBattery.cpp	Tue Dec 13 09:54:46 2016 +0000
+++ b/hepta_sat/HeptaBattery.cpp	Tue Dec 13 11:02:26 2016 +0000
@@ -11,7 +11,7 @@
 {
     *bt = (_bat.read()*1.431*3.3);
 }
-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};
@@ -20,7 +20,6 @@
     sprintf( bt2, "%02X", (bt_datas) & 0xFF);
     bt_u16[0]=bt1[0]; bt_u16[1]=bt1[1];
     bt_u16[2]=bt2[0]; bt_u16[3]=bt2[1];
-    *dsize = 4;
 }
 void HeptaBattery::chargecontrol(int state, int *save_flag)
 {