mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-22 21:36:11 +02:00
MI - dec control plus debug (#4)
* restructure serial debug output (partly) + MI - more code review * fix debug output for power control cmds * MI - limitation commands answered * Debug - add more macros and texts Might as well help for https://github.com/lumapu/ahoy/pull/478 Unfortunately, this atm doesn't really lower used flash memory * MI - limit command - now seems to work for MI-600 (to be verified) - debug - more use of macros (wrt. to real effect see last remark)
This commit is contained in:
parent
296597a589
commit
a7bacf1f11
5 changed files with 243 additions and 109 deletions
|
@ -143,7 +143,10 @@ class Inverter {
|
|||
template <typename T>
|
||||
void enqueCommand(uint8_t cmd) {
|
||||
_commandQueue.push(std::make_shared<T>(cmd));
|
||||
DPRINTLN(DBG_INFO, F("(#") + String(id) + F(") enqueuedCmd: 0x") + String(cmd, HEX));
|
||||
DPRINTHEAD(DBG_INFO, id);
|
||||
//DBGPRINTLN(F("enqueuedCmd: 0x") + String(cmd, HEX));
|
||||
DBGPRINT_TXT(TXT_ENQUCMD);
|
||||
DBGHEXLN(cmd);
|
||||
}
|
||||
|
||||
void setQueuedCmdFinished() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue