From eac86ee2a3361c0a01b04348c90f75a8eaeb59ba Mon Sep 17 00:00:00 2001 From: elral <3263285+elral@users.noreply.github.com> Date: Mon, 27 May 2024 22:24:32 +0200 Subject: [PATCH] Better explanations for power saving mode (#1) --- Template/MyCustomClass.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Template/MyCustomClass.cpp b/Template/MyCustomClass.cpp index 903f3ef..1193b80 100644 --- a/Template/MyCustomClass.cpp +++ b/Template/MyCustomClass.cpp @@ -35,9 +35,9 @@ void MyCustomClass::set(int16_t messageID, char *setPoint) Each messageID has it's own value check for the messageID and define what to do. Important Remark! - MessageID == -1 will be send from the connector when Mobiflight is closed - Put in your code to shut down your custom device (e.g. clear a display) - MessageID == -2 will be send from the connector when PowerSavingMode is entered + MessageID == -2 will be send from the board when PowerSavingMode is set + Message will be "0" for leaving and "1" for entering PowerSavingMode + MessageID == -1 will be send from the connector when Connector stops running Put in your code to enter this mode (e.g. clear a display) ********************************************************************************** */