diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 26 |
1 files changed, 11 insertions, 15 deletions
@@ -2788,7 +2788,7 @@ static void Nonstd_menu_default_rs232(void) LCD_write(2,0,"hardware handshaking on, echo on."); LCD_write(3,0,Press_Change_Message); - IO_Setup_RS232(1200, 1, TRUE); + IO_Setup_RS232(1200, 1); Menu_Clear_Buttons(); @@ -3375,65 +3375,61 @@ static int Submenu_Implement_Changes(void) globals.MenuStatus.Selected_Submenu=Submenu1_setup; break; case mode_1200: - IO_Setup_RS232(1200, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(1200, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_2400: - IO_Setup_RS232(2400, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(2400, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_4800: - IO_Setup_RS232(4800, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(4800, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_9600: - IO_Setup_RS232(9600, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(9600, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_19200: - IO_Setup_RS232(19200, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(19200, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_38400: - IO_Setup_RS232(38400, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(38400, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_57600: - IO_Setup_RS232(57600, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(57600, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_115200: - IO_Setup_RS232(115200, globals.Flash.hardhand, FALSE); + IO_Setup_RS232(115200, globals.Flash.hardhand); globals.MenuStatus.Selected_Submenu=Submenu2_rs232_hardhand; call_new_submenu=YES; Submenu_Display(NO); break; case mode_hand_hard: - IO_Setup_RS232(globals.Flash.baud, 1, FALSE); + IO_Setup_RS232(globals.Flash.baud, 1); globals.MenuStatus.Selected_Submenu=Submenu1_setup; - call_new_submenu=YES; - Submenu_Display(NO); break; case mode_hand_off: - IO_Setup_RS232(globals.Flash.baud, 0, FALSE); + IO_Setup_RS232(globals.Flash.baud, 0); globals.MenuStatus.Selected_Submenu=Submenu1_setup; - call_new_submenu=YES; - Submenu_Display(NO); break; } |