Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SX127x sx12xx_hal TSL2561
Diff: radio/sx1276/sx1276.cpp
- Revision:
- 18:9ac71c0eb70d
- Parent:
- 10:00997daeb0c0
- Child:
- 20:42839629a5dc
--- a/radio/sx1276/sx1276.cpp Fri Jul 28 22:18:46 2017 +0000 +++ b/radio/sx1276/sx1276.cpp Wed Aug 02 11:42:33 2017 -0700 @@ -998,7 +998,7 @@ void SX1276::SetOpMode( uint8_t opMode ) { - if (opMode == RF_OPMODE_RECEIVER || opMode == RFLR_OPMODE_RECEIVER_SINGLE && expecting_beacon) + if ((opMode == RF_OPMODE_RECEIVER || opMode == RFLR_OPMODE_RECEIVER_SINGLE) && expecting_beacon) rx_debug_pin = 1; else rx_debug_pin = 0;