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.
Dependents: LORA-SX1272MB2xAS-PP mDot_Semtech_LoRaWAN_Stack LoRaWAN-demo-72_mdotIKS01A1 lora-project ... more
Revision 5:e90cbf646eb1, committed 2016-05-19
- Comitter:
- ubhat
- Date:
- Thu May 19 18:30:44 2016 +0000
- Parent:
- 4:90bd79f1b458
- Child:
- 6:69d5976b504d
- Commit message:
- Update currentOpMode in SetOpMode() to fix Tx Power issue
Changed in this revision
| sx1272/sx1272.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/sx1272/sx1272.cpp Fri May 13 14:49:34 2016 +0000
+++ b/sx1272/sx1272.cpp Thu May 19 18:30:44 2016 +0000
@@ -922,6 +922,8 @@
void SX1272::SetOpMode( uint8_t opMode )
{
+ currentOpMode = opMode; // Update global variable
+
if( opMode == RF_OPMODE_SLEEP )
{
SetAntSwLowPower( true );
SX1272MB2xAS / SX1272MB2DAS