             }
             else if (toupper(Modem_CommandBuffer[0]) == 'A' && toupper(Modem_CommandBuffer[1]) == 'T')
             {
-                if (Modem_flowControlEnabled) 
+                if (Modem_flowControl) 
                     digitalWriteFast(C64_CTS, HIGH);
                 Modem_ProcessCommandBuffer();
             }

boolean Modem_isCommandMode = true;
boolean Modem_isConnected = false;
boolean Modem_isRinging = false;
boolean Modem_EchoOn = EEPROM.read(ADDR_MODEM_ECHO);
boolean Modem_flowControlEnabled = EEPROM.read(ADDR_MODEM_FLOW);
boolean Modem_VerboseResponses = true;
boolean Modem_QuietMode = false;
boolean Modem_isDcdInverted = false;

boolean Modem_S0_AutoAnswer = false;
char    Modem_S2_EscapeCharacter = '+';

#define COMMAND_BUFFER_SIZE  81
char Modem_LastCommandBuffer[COMMAND_BUFFER_SIZE];

Serial.begin(115200);
*/

#ifdef HAYES

void Modem_LoadDefaults(void)
{
    Display(F("Setting defaults"));
    Modem_isCommandMode = true;
    Modem_isConnected = false;
    Modem_isRinging = false;
    Modem_Echo = true;
    Modem_flowControl = false;
    Modem_VerboseResponses = true;
    Modem_QuietMode = false;
    Modem_S0_AutoAnswer = false;
    Modem_S2_EscapeCharacter = '+';
    Modem_isDcdInverted = false;
    delay(2000);
}

// Save settings to profile.  Future:  profile #1 using ADDR_MODEM_ECHO1 etc.
void Modem_Save_Settings(byte profile_num)
{
    EEPROM.write(ADDR_MODEM_ECHO, Modem_Echo);    
    EEPROM.write(ADDR_MODEM_FLOW, Modem_flowControl);
    EEPROM.write(ADDR_MODEM_VERBOSE, Modem_VerboseResponses);
    EEPROM.write(ADDR_MODEM_QUIET, Modem_QuietMode);
    EEPROM.write(ADDR_MODEM_S0_AUTOANS, Modem_S0_AutoAnswer);
    EEPROM.write(ADDR_MODEM_S2_ESCAPE, Modem_S2_EscapeCharacter);
    EEPROM.write(ADDR_MODEM_DCD_INVERTED, Modem_isDcdInverted);
}

void Modem_Load_Settings(byte profile_num)
// Load settings from profile.  Future:  profile #1 using ADDR_MODEM_ECHO1 etc.
{
    Modem_Echo = EEPROM.read(ADDR_MODEM_ECHO);
    Modem_flowControl = EEPROM.read(ADDR_MODEM_FLOW);
    Modem_VerboseResponses = EEPROM.read(ADDR_MODEM_VERBOSE);
    Modem_QuietMode = EEPROM.read(ADDR_MODEM_QUIET);
    Modem_S0_AutoAnswer = EEPROM.read(ADDR_MODEM_S0_AUTOANS);
    Modem_S2_EscapeCharacter = EEPROM.read(ADDR_MODEM_S2_ESCAPE);
    Modem_isDcdInverted = EEPROM.read(ADDR_MODEM_DCD_INVERTED);
}


#endif  // HAYES


int freeRam () 
{
