changes for https://developer.mbed.org/users/ubhat/code/NAMote72_Application_Demo/
Dependents: LoRaWAN-NAMote72-Application-Demo_IoTium LoRaWAN-NAMote72-BVS-confirmed-tester-0-7v1_copy
Fork of lib_mma8451q by
Revision 3:d169fc9cbafb, committed 2016-02-18
- Comitter:
- ubhat
- Date:
- Thu Feb 18 19:22:45 2016 +0000
- Parent:
- 2:4bc96749141e
- Commit message:
- NAMote72 new library changes
Changed in this revision
mma8451q.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/mma8451q.cpp Tue Sep 01 00:27:13 2015 +0000 +++ b/mma8451q.cpp Thu Feb 18 19:22:45 2016 +0000 @@ -210,11 +210,11 @@ } uint8_t MMA8451Q::service() -{ +{ mma_int_source_t int_src; if (m_int_pin) return 0; // no interrupt - + int_src.octet = read_single(MMA8451_INT_SOURCE); if (int_src.bits.SRC_DRDY) {