mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-07 16:57:05 +01:00
debug: not all functions accept flash strings
At least right now. These break ArduinoJson serializer and the MQTT client code, since both try to read these as common char ptr
This commit is contained in:
@@ -79,7 +79,7 @@ const String& getCoreRevision() {
|
||||
}
|
||||
|
||||
const char* getVersion() {
|
||||
static const char version[] PROGMEM {
|
||||
static const char version[] {
|
||||
#if defined(APP_REVISION)
|
||||
APP_VERSION APP_REVISION
|
||||
#else
|
||||
@@ -91,12 +91,12 @@ const char* getVersion() {
|
||||
}
|
||||
|
||||
const char* getDevice() {
|
||||
static const char device[] PROGMEM = DEVICE;
|
||||
static const char device[] = DEVICE;
|
||||
return device;
|
||||
}
|
||||
|
||||
const char* getManufacturer() {
|
||||
static const char manufacturer[] PROGMEM = MANUFACTURER;
|
||||
static const char manufacturer[] = MANUFACTURER;
|
||||
return manufacturer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user