MMA8451Q driver

Fork of lib_mma8451q by canuck lehead

Revision:
8:442c7e6e35ce
Parent:
6:828b08201d8b
--- a/mma8451q.cpp	Mon Apr 24 12:36:06 2017 +0000
+++ b/mma8451q.cpp	Mon Apr 24 13:44:18 2017 +0000
@@ -211,10 +211,10 @@
 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) {
@@ -299,7 +299,7 @@
             if (t_src.bits.ZTRANSE)
                 printf("Z_Pol:%d ", t_src.bits.Z_Trans_Pol);
             printf("\r\n");        
-        } 
+        }
     } // ...int_src.bits.SRC_TRANS
     
     if (int_src.bits.SRC_ASLP) {