Loïc Ringot
/
SX126X_PingPong_Demo
Ping Pong Demo with Lora Antenna and Nucleo board
Revision 2:4e2bd6f15af1, committed 2020-09-25
- Comitter:
- lringot
- Date:
- Fri Sep 25 07:35:50 2020 +0000
- Parent:
- 1:ecd6c7ea3545
- Commit message:
- Test commit;
Changed in this revision
main_pingpong.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ecd6c7ea3545 -r 4e2bd6f15af1 main_pingpong.cpp --- a/main_pingpong.cpp Tue Oct 16 15:12:01 2018 +0000 +++ b/main_pingpong.cpp Fri Sep 25 07:35:50 2020 +0000 @@ -200,7 +200,7 @@ void ConfigureRadioTx(SX126xHal *radio, RadioConfigurations_t *config); void ConfigureRadioRx(SX126xHal *radio, RadioConfigurations_t *config); void PrepareBuffer(SX126xHal *radio, const Messages_t *messageToSend); -bool isMaster = true; +bool isMaster = false; bool masterCanSend = true; void MasterSendNextEvent(void){masterCanSend = true;} bool slaveCanListen = false;