Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/MF_CustomDevice/CustomDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down