LED state changing (Device LEDs work now)

This commit is contained in:
Paul Hollinsky
2018-10-17 16:15:15 -04:00
parent 4426334f3f
commit b4fc3edd0f
3 changed files with 30 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ std::vector<uint8_t> Encoder::encode(const std::shared_ptr<Message>& message) {
// }
default:
switch(message->network.getNetID()) {
case Network::NetID::Device:
shortFormat = true;
break;
case Network::NetID::Main51:
if(message->data.size() > 0xF) {
// Main51 can be sent as a long message without setting the NetID to RED first