Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: akmsensor.h
- Revision:
- 46:5938ad2039b0
- Parent:
- 45:6af8fdde0ef3
- Child:
- 49:c8f8946129b6
--- a/akmsensor.h Tue Dec 05 23:27:20 2017 +0000 +++ b/akmsensor.h Wed Dec 13 23:35:23 2017 +0000 @@ -128,7 +128,7 @@ * * @return Name of sensor as a character array. */ - char* getSensorName(){ + const char* getSensorName(){ return sensorName; }; @@ -156,7 +156,7 @@ protected: uint8_t primaryId; uint8_t subId; - char* sensorName; + const char* sensorName; AkmSensor(){ event = false;