Set the protocol version in PixelMessage automagically
This commit is contained in:
parent
ad1bcba459
commit
a2173bc0e3
3 changed files with 18 additions and 20 deletions
|
@ -141,4 +141,3 @@ bool PixelBot::Tick()
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "PixelMessage.h"
|
||||
#include "PixelBot.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
PixelMessage::PixelMessage()
|
||||
{
|
||||
|
||||
ProtocolVersion = PixelBot::PROTOCOL_VERSION;
|
||||
}
|
||||
PixelMessage::PixelMessage(byte* rawMessage) : PixelMessage()
|
||||
{
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
|
|
Reference in a new issue