changes
This commit is contained in:
3
main.cpp
3
main.cpp
@ -9,7 +9,7 @@
|
||||
#include "rgbled.h"
|
||||
#include "eeprom.h"
|
||||
|
||||
#define MAX_RELAYS 16
|
||||
#define MAX_RELAYS 32
|
||||
#define COMMAND_BUFFER_SIZE 32
|
||||
#define SNPRINTF_BUFFER_SIZE 64
|
||||
|
||||
@ -249,6 +249,7 @@ void serialDispatch(Serial* serial , WirelessRelayStore* relays, RgbLed* rgbled,
|
||||
else if(length > 2 && strncmp(buffer, "aux", 3) == 0)
|
||||
{
|
||||
auxDispatch(auxPwm, buffer+4, serial);
|
||||
if(relays->printState == true) writeState(relays, auxPwm, serial);
|
||||
}
|
||||
else if(length > 4 && strncmp(buffer, "state", 5) == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user