Skip to content

Commit 7fd7ded

Browse files
committed
Fix typo
1 parent 0953281 commit 7fd7ded

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/OpenChannel/OpenChannel.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup()
5151

5252
ac = AssignChannel();
5353
ac.setChannel(0);
54-
ac.setChannelType(CHANNEL_TYPE_BIDIRECTIONAL_RECIEVE);
54+
ac.setChannelType(CHANNEL_TYPE_BIDIRECTIONAL_RECEIVE);
5555
ac.setChannelNetwork(0);
5656
ant.send(ac);
5757
parseMessage();

src/ANT.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@
118118
/**
119119
* Channel Type Codes
120120
*/
121-
#define CHANNEL_TYPE_BIDIRECTIONAL_RECIEVE 0x00
121+
#define CHANNEL_TYPE_BIDIRECTIONAL_RECEIVE 0x00
122122
#define CHANNEL_TYPE_BIDIRECTIONAL_TRANSMIT 0x10
123-
#define CHANNEL_TYPE_UNIDIRECTIONAL_RECIEVE 0x50
123+
#define CHANNEL_TYPE_UNIDIRECTIONAL_RECEIVE 0x50
124124
#define CHANNEL_TYPE_UNIDIRECTIONAL_TRANSMIT 0x40
125-
#define CHANNEL_TYPE_SHARED_RECIEVE 0x20
125+
#define CHANNEL_TYPE_SHARED_RECEIVE 0x20
126126
#define CHANNEL_TYPE_SHARED_TRANSMIT 0x30
127127

128128
/**

0 commit comments

Comments
 (0)