For Hepta-Sat Lite

Revision:
5:098423fb0371
Parent:
4:01941772f493
Child:
6:fdfca3ffecd5
diff -r 01941772f493 -r 098423fb0371 Hepta9axis.cpp
--- a/Hepta9axis.cpp	Mon Sep 04 16:27:17 2017 +0000
+++ b/Hepta9axis.cpp	Tue Sep 05 12:46:12 2017 +0000
@@ -231,7 +231,7 @@
 }
 
 //////////////16進数表記/////////////////////////////////////////
-void Hepta9axis::sen_gyro_u16(char* gx_u16,char* gy_u16,char* gz_u16, int *dsize)
+void Hepta9axis::sen_gyro_u16(char* gx_u16,char* gy_u16,char* gz_u16)
 {
     //x軸GYRO
     n_axis.start();
@@ -303,10 +303,10 @@
     gz_u16[1]=g1[1];
     gz_u16[2]=g2[0];
     gz_u16[3]=g2[1];
-    *dsize = 4;
+    //*dsize = 4;
 }
 
-void Hepta9axis::sen_acc_u16(char* ax_u16,char* ay_u16,char* az_u16, int *dsize)
+void Hepta9axis::sen_acc_u16(char* ax_u16,char* ay_u16,char* az_u16)
 {
     //x軸加速度
     n_axis.start();
@@ -378,10 +378,10 @@
     az_u16[1]=a1[1];
     az_u16[2]=a2[0];
     az_u16[3]=a2[1];
-    *dsize = 4;
+    //*dsize = 4;
 }
 
-void Hepta9axis::sen_mag_u16(char* mx_u16,char* my_u16,char* mz_u16, int *dsize)
+void Hepta9axis::sen_mag_u16(char* mx_u16,char* my_u16,char* mz_u16)
 {
     n_axis.start();
     n_axis.write(addr_compus);
@@ -464,5 +464,5 @@
     mz_u16[1]=m1[1];
     mz_u16[2]=m2[0];
     mz_u16[3]=m2[1];
-    *dsize = 4;
+    //*dsize = 4;
 }
\ No newline at end of file