diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-11-23 14:16:44 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-11-23 14:16:44 -0600 |
commit | b30884816bd4af4e435c265d0e061c900e25ae88 (patch) | |
tree | 1f2a511c31340b9d9b119b62dade9df6b3193747 /CommandTerminal | |
parent | e1736be283e3da3df63e9d29c9382c076e59f80e (diff) | |
download | mtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.tar.gz mtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.tar.bz2 mtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.zip |
display product id on startup screen, change baud rates to 115k, set log level to trace
Diffstat (limited to 'CommandTerminal')
-rw-r--r-- | CommandTerminal/CmdDisplayConfig.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CommandTerminal/CmdDisplayConfig.cpp b/CommandTerminal/CmdDisplayConfig.cpp index 2f11218..edea277 100644 --- a/CommandTerminal/CmdDisplayConfig.cpp +++ b/CommandTerminal/CmdDisplayConfig.cpp @@ -1,5 +1,6 @@ #include "CmdDisplayConfig.h" #include "version.h" +#include "MTSLog.h" std::string version = MTDOT_BOX_VERSION; @@ -45,7 +46,8 @@ uint32_t CmdDisplayConfig::action(std::vector<std::string> args) { _serial.writef("Tx Data Rate:\t\t%s\r\n", mDot::DataRateStr(_dot->getTxDataRate()).c_str()); _serial.writef("Tx Power:\t\t%u\r\n", _dot->getTxPower()); - _serial.writef("Log Level:\t\t%ld\r\n", _dot->getLogLevel()); + //_serial.writef("Log Level:\t\t%ld\r\n", _dot->getLogLevel()); + _serial.writef("Log Level:\t\t%ld\r\n", mts::MTSLog::TRACE_LEVEL); _serial.writef("Maximum Size:\t\t%u\r\n", _dot->getWakeDelay()); //DotBox +MaxSize is stored here. _serial.writef("Minimum Size:\t\t%u\r\n", _dot->getWakeInterval()); //DotBox +MinSize is stored here. |