             return;
         }
     }
-
-    // Flow control, revisit
-    //else if (!modem.getIsConnected() && modem.getIsCommandMode())
-    //{
-        //digitalWrite(DCE_RTS, LOW);
-    //}
-    //else if(digitalRead(DTE_CTS) == HIGH)
-    //{
-    //	digitalWrite(DTE_RTS, LOW);
-    //}
 
     // Handle all other data arriving on the serial port of the virtual modem.
     Modem_ProcessData();

#else
    if (Modem_DCDFollowsRemoteCarrier)
        digitalWriteFast(C64_DCD, Modem_ToggleCarrier(true));
#endif

    TerminalMode();
}

void TerminalMode()

        // Check that C64 is ready to receive
        while (digitalReadFast(WIFI_RTS) == HIGH)   // If not...
        {
            digitalWriteFast(C64_CTS, LOW);     // ..stop data from C64 and wait
        }
        digitalWriteFast(C64_CTS, HIGH);
    }
