MMA8451Q driver

Fork of lib_mma8451q by canuck lehead

Revision:
4:b06535efa239
Parent:
3:96faac0d688e
Child:
8:442c7e6e35ce
--- a/mma8451q.h	Mon Mar 07 15:21:11 2016 -0500
+++ b/mma8451q.h	Thu Aug 11 17:22:09 2016 -0400
@@ -138,6 +138,8 @@
     bool back;
     bool low;
 
+    mma_pl_status_t pl_status;
+
     MMA_orientation()
     {
         reset();
@@ -146,6 +148,7 @@
     inline void reset()
     {
         up=down=right=left=front=back=low=false;
+        pl_status.octet = 0;
     }
 
     bool operator==(const MMA_orientation &rhs)