Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Master/Itho/CC1101Packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <stdio.h>
#ifdef ESP8266
#include <arduino.h>
#include <Arduino.h>
#endif

#define CC1101_BUFFER_LEN 64
Expand Down
2 changes: 1 addition & 1 deletion Master/Itho/IthoCC1101.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const uint8_t counterBytes66[] = {170,106};


//state machine
typedef enum IthoReceiveStates
enum IthoReceiveStates
{
ExpectMessageStart,
ExpectNormalCommand,
Expand Down
6 changes: 3 additions & 3 deletions Master/Itho/IthoPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
#define ITHOPACKET_H_


typedef enum IthoMessageType
{
enum IthoMessageType
{
ithomsg_unknown = 0,
ithomsg_control = 1,
ithomsg_join = 2,
ithomsg_leave = 3
};
};

//do not change enum because they are used in calculations!
enum IthoCommand
Expand Down