avoid sending user command directly if manny user commands are issued in a short period of time
This commit is contained in:
parent
ab2767af18
commit
395c9f3e2c
5 changed files with 31 additions and 26 deletions
8
item.h
8
item.h
|
|
@ -31,13 +31,15 @@ protected:
|
|||
uint16_t packetAddDirection();
|
||||
uint16_t packetAddFunction(const uint8_t function);
|
||||
uint16_t assemblePacket();
|
||||
|
||||
|
||||
public:
|
||||
|
||||
inline static bool directSendBlock = false;
|
||||
|
||||
static void setOutput(const uint8_t state);
|
||||
|
||||
|
||||
Item(const uint8_t address);
|
||||
|
||||
|
||||
void sendRaw(const uint16_t data);
|
||||
static void sendRawAddr(const uint8_t address, const uint16_t data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue