Skip to content

Commit 61b4789

Browse files
committed
Delete duplicate code
1 parent 6bc6428 commit 61b4789

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,7 +3039,7 @@ bool RTK_WIFI::stopStart(WIFI_ACTION_t stopping, WIFI_ACTION_t starting)
30393039
// Display the items that were not started
30403040
//****************************************
30413041

3042-
if (settings.debugWifiState && _verbose && _verbose)
3042+
if (settings.debugWifiState && _verbose)
30433043
{
30443044
systemPrintf("0x%08x: startingNow\r\n", startingNow);
30453045
systemPrintf("0x%08x: _started\r\n", _started);
@@ -3048,16 +3048,6 @@ bool RTK_WIFI::stopStart(WIFI_ACTION_t stopping, WIFI_ACTION_t starting)
30483048
if (settings.debugWifiState && startingNow)
30493049
displayComponents("ERROR: Items NOT started", startingNow);
30503050

3051-
//****************************************
3052-
// Display the items that were not started
3053-
//****************************************
3054-
3055-
if (settings.debugWifiState && _verbose)
3056-
{
3057-
systemPrintf("0x%08x: startingNow\r\n", startingNow);
3058-
systemPrintf("0x%08x: _started\r\n", _started);
3059-
}
3060-
30613051
// Clear the items that were not started
30623052
_started = _started & ~notStarted;
30633053

0 commit comments

Comments
 (0)