Skip to content

Commit dca2ca3

Browse files
committed
Remove erroneous inCommandMode check
Allows for RTT command to pass successfully.
1 parent 95ff1c8 commit dca2ca3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Firmware/LoRaSerial/Commands.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ bool commandAT(const char * commandString)
183183
return true;
184184

185185
case ('T'): //ATT - Enter training mode
186-
if (inCommandMode)
187-
settings = tempSettings; //Apply user's modifications
186+
settings = tempSettings; //Apply user's modifications
188187
selectTraining();
189188
return true;
190189

@@ -195,8 +194,7 @@ bool commandAT(const char * commandString)
195194
case ('Z'): //ATZ - Reboots the system
196195
if (writeOnCommandExit)
197196
{
198-
if (inCommandMode)
199-
settings = tempSettings; //Apply user's modifications
197+
settings = tempSettings; //Apply user's modifications
200198
recordSystemSettings();
201199
}
202200

0 commit comments

Comments
 (0)