diff --git a/src/MF_CustomDevice/CustomDevice.cpp b/src/MF_CustomDevice/CustomDevice.cpp index fc80876c..5b6a9312 100644 --- a/src/MF_CustomDevice/CustomDevice.cpp +++ b/src/MF_CustomDevice/CustomDevice.cpp @@ -97,9 +97,9 @@ namespace CustomDevice { for (uint8_t i = 0; i < customDeviceRegistered; ++i) { if (state) - customDevice[i].set(MESSAGEID_POWERSAVINGMODE, "1"); + customDevice[i].set(MESSAGEID_POWERSAVINGMODE, (char*)"1"); else - customDevice[i].set(MESSAGEID_POWERSAVINGMODE, "0"); + customDevice[i].set(MESSAGEID_POWERSAVINGMODE, (char*)"0"); } }