1
0
Fork 0
mirror of https://github.com/lumapu/ahoy.git synced 2025-05-25 14:56:11 +02:00

speed up set power limit

This commit is contained in:
Andreas Schiffler 2022-09-05 20:07:48 +02:00
parent 0ae56efb2f
commit 6be2b0979f
3 changed files with 15 additions and 1 deletions
tools/esp8266

View file

@ -149,6 +149,12 @@ class Inverter {
}
}
void clearCmdQueue(){
while (!_commandQueue.empty()){
// Will destroy CommandAbstract Class Object (?)
_commandQueue.pop();
}
}
uint8_t getQueuedCmd()
{
if (_commandQueue.empty()){