mQ Branch for NA mote testing
Dependencies: LoRaWAN-lib SX1272Lib-mQ lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo by
Diff: app/LoRaApp.cpp
- Revision:
- 14:f687ec277e1b
- Parent:
- 13:6b6f4be13633
- Child:
- 15:39a23f5affd1
diff -r 6b6f4be13633 -r f687ec277e1b app/LoRaApp.cpp --- a/app/LoRaApp.cpp Tue Aug 30 06:35:16 2016 +0000 +++ b/app/LoRaApp.cpp Tue Aug 30 18:56:17 2016 +0000 @@ -221,8 +221,8 @@ case AppAcclSensor: { uint8_t statusReg; - uint8_t regVal; - uint16_t axesData; + int8_t regVal; + int16_t axesData; // Read the PS_STATUS register statusReg = Mma8451q.read_single( MMA8451_PL_STATUS );