chore: add more todos

This commit is contained in:
J. Nick Koston 2024-01-06 09:56:36 -10:00 committed by Marius Muja
parent 316762c46a
commit a6e0259551
1 changed files with 7 additions and 0 deletions

View File

@ -33,7 +33,14 @@ namespace ratgdo {
class RATGDOComponent; class RATGDOComponent;
typedef Parented<RATGDOComponent> RATGDOClient; typedef Parented<RATGDOComponent> RATGDOClient;
#ifdef PROTOCOL_SECPLUSV2
static const uint8_t PACKET_LENGTH = 19; static const uint8_t PACKET_LENGTH = 19;
#endif
#ifdef PROTOCOL_SECPLUSV1
// TODO: these are wrong and copied from secplusv2
static const uint8_t PACKET_LENGTH = 19;
#endif
typedef uint8_t WirePacket[PACKET_LENGTH]; typedef uint8_t WirePacket[PACKET_LENGTH];
const float DOOR_POSITION_UNKNOWN = -1.0; const float DOOR_POSITION_UNKNOWN = -1.0;