Modified for compatibility with Rev.E. hardware

Fork of AkmSensor by AKM Development Platform

Revision:
47:221ec4b404ec
Parent:
37:c76d2edf3426
Child:
49:c8f8946129b6
diff -r 5938ad2039b0 -r 221ec4b404ec ap1017ctrl.h
--- a/ap1017ctrl.h	Wed Dec 13 23:35:23 2017 +0000
+++ b/ap1017ctrl.h	Thu Dec 14 00:21:43 2017 +0000
@@ -84,7 +84,7 @@
      *
      * @return Sensor name as a char array.
      */
-    virtual char* getSensorName();
+    virtual const char* getSensorName();
     
     // Interrupt Service Routines
     void pwmPeriod();
@@ -94,7 +94,7 @@
     //bool            event;
     uint8_t         primaryId;
     uint8_t         subId;
-    char*           sensorName;
+    const char*     sensorName;
 
     DigitalOut*     inputA;
     DigitalOut*     inputB;