For Hepta-Sat Lite
Diff: HeptaTemp.cpp
- Revision:
- 3:96c3dd85be15
- Parent:
- 2:de2e2a625a3b
- Child:
- 4:845cda80eaf0
- Child:
- 5:c15240318217
diff -r de2e2a625a3b -r 96c3dd85be15 HeptaTemp.cpp --- a/HeptaTemp.cpp Mon Sep 04 16:28:00 2017 +0000 +++ b/HeptaTemp.cpp Tue Sep 05 12:47:05 2017 +0000 @@ -39,7 +39,7 @@ } -void HeptaTemp::temp_sense_u16(char* temp_u16, int *dsize) +void HeptaTemp::temp_sense_u16(char* temp_u16) { unsigned short temp_datas; char temp1[8]= {0x00},temp2[8]= {0x00}; @@ -50,7 +50,7 @@ temp_u16[1]=temp1[1]; temp_u16[2]=temp2[0]; temp_u16[3]=temp2[1]; - *dsize = 4; + //*dsize = 4; } void HeptaTemp::temp_sensing_vol(float* voltage)