gyo
Diff: SBDBT.cpp
- Revision:
- 7:30e05998769b
- Parent:
- 6:da71294502ee
- Child:
- 9:8538fc8f6259
--- a/SBDBT.cpp Sun Aug 13 03:35:38 2017 +0000 +++ b/SBDBT.cpp Tue Aug 15 04:13:58 2017 +0000 @@ -66,11 +66,6 @@ } } - int SBDBT::sw() - { - return data[1]+data[2]<<8; - } - void SBDBT::print() { printf("%3d %3d %3d %3d %3d %3d %3d %3d\n",data[0],data[1],data[2],data[3],data[4],data[5],data[6],data[7]); @@ -162,22 +157,22 @@ signed char SBDBT::rs_x() { - return data[5]-64; + return data[5]; } signed char SBDBT::rs_y() { - return data[6]-64; + return data[6]; } signed char SBDBT::ls_x() { - return data[3]-64; + return data[3]; } signed char SBDBT::ls_y() { - return data[4]-64; + return data[4]; } char SBDBT::rs_x_check()