diff options
author | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:57:01 +0900 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:57:01 +0900 |
commit | 5161a54e189b59d8115a81b75d930906bb9af882 (patch) | |
tree | 626d9cdd97241466b41ea1d2f4b1d9c4153d59d9 /menus.c | |
parent | df12b3e0ee4c0ae8531cf9c11052fa40172bba24 (diff) |
fix RS232 menu - menu did not stored new settings to flash
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; } |