Index: main.cpp =================================================================== diff -u -r95c671ab7037af055db551456a719ff67bf10262 -rd4b88173e0d4a683a315d2fc57b8e1ec356b1232 --- main.cpp (.../main.cpp) (revision 95c671ab7037af055db551456a719ff67bf10262) +++ main.cpp (.../main.cpp) (revision d4b88173e0d4a683a315d2fc57b8e1ec356b1232) @@ -66,7 +66,7 @@ int gFakeInterval = 0 ; QByteArray gFakeData = "" ; const char *gFakeData_default = "00" ; -bool gSendEmptyKeepAwake = true ; +bool gSendEmptyKeepAwake = false ; bool gFakeSeqAtBegin = false ; bool gDisableHunhandledReport = false ; @@ -113,8 +113,8 @@ parser.addOption(optionConsoleoutFrameInterface); // --- -0 : disable-keep-awake (the fast mode) - QCommandLineOption optionSendEmptyKeepAwake(QStringList() << "0" << "disable-keep-awake", - QCoreApplication::translate("main", "Disable send low priority, empty message on the CANBus just to keep UI board CAN driver awake")); + QCommandLineOption optionSendEmptyKeepAwake(QStringList() << "0" << "enable-keep-awake", + QCoreApplication::translate("main", "Enable send low priority, empty message on the CANBus just to keep UI board CAN driver awake")); parser.addOption(optionSendEmptyKeepAwake); // --- -i : fake-interval @@ -152,7 +152,7 @@ gConsoleoutFrameInterface = parser.isSet(optionConsoleoutFrameInterface ); gDisableHunhandledReport = parser.isSet(optionDisableHunhandledReport ); - if (parser.isSet(optionSendEmptyKeepAwake)) gSendEmptyKeepAwake = false; + if (parser.isSet(optionSendEmptyKeepAwake)) gSendEmptyKeepAwake = true; bool ok = false; if (parser.isSet(optionFakeInterval)) {