Skip to content

Commit

Permalink
Automatically detect length of testStruct
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerBroker2 authored Jul 3, 2020
1 parent 383a62c commit 9d6ae75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tx_multi_byte/tx_multi_byte.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void setup()

void loop()
{
myTransfer.txObj(testStruct, sizeof(testStruct));
myTransfer.txObj(testStruct);
myTransfer.sendData(sizeof(testStruct));
delay(100);
}
Expand Down

0 comments on commit 9d6ae75

Please sign in to comment.