Skip to content

Commit

Permalink
Correct API
Browse files Browse the repository at this point in the history
Changed name because of naming conflict
  • Loading branch information
cujomalainey committed Sep 4, 2017
1 parent e8e2122 commit 5909ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/TxCounter/TxCounter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void setup()
parseMessage();

bm = BroadcastMsg();
bm.setData(buffer);
bm.setDataBuffer(buffer);
bm.setChannel(0);
ant.send(bm);
parseMessage();
Expand Down Expand Up @@ -145,7 +145,7 @@ void parseEventMessage(uint8_t code)
Serial.println("EVENT_TX");
buffer[0]++;
bm = BroadcastMsg();
bm.setData(buffer);
bm.setDataBuffer(buffer);
bm.setChannel(0);
ant.send(bm);
break;
Expand Down

0 comments on commit 5909ad1

Please sign in to comment.