MI - some small fixes (#5)

This commit is contained in:
rejoe2 2023-03-22 13:38:20 +01:00 committed by GitHub
parent 6fc2f2dde3
commit 0535117a47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 25 deletions

View file

@ -157,7 +157,8 @@ class Inverter {
}
void clearCmdQueue() {
DPRINTLN(DBG_INFO, F("clearCmdQueue"));
DPRINTHEAD(DBG_INFO, id);
DBGPRINTLN_TXT(TXT_CLRQUE);
while (!_commandQueue.empty()) {
// Will destroy CommandAbstract Class Object (?)
_commandQueue.pop();