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:
parent
0ae56efb2f
commit
6be2b0979f
3 changed files with 15 additions and 1 deletions
tools/esp8266
|
@ -149,6 +149,12 @@ class Inverter {
|
|||
}
|
||||
}
|
||||
|
||||
void clearCmdQueue(){
|
||||
while (!_commandQueue.empty()){
|
||||
// Will destroy CommandAbstract Class Object (?)
|
||||
_commandQueue.pop();
|
||||
}
|
||||
}
|
||||
uint8_t getQueuedCmd()
|
||||
{
|
||||
if (_commandQueue.empty()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue