From 6cd0a7b014451b074ac2f0ef827e482277309920 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Wed, 31 Oct 2012 13:58:42 -0400 Subject: astyle fixes --- menus.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'menus.c') diff --git a/menus.c b/menus.c index f4467ee..bcb9134 100644 --- a/menus.c +++ b/menus.c @@ -318,9 +318,9 @@ void Show_Main_Menu(void) menu_string = g_string_append (menu_string, "INT"); show_item=Show_frequency+chan; } else if (globals.ChannelState[chan].trigger_source==source_external) { - menu_string = g_string_append (menu_string, "EXT TRIG"); + menu_string = g_string_append (menu_string, "EXT TRIG"); } else if (globals.ChannelState[chan].trigger_source==source_manual) { - menu_string = g_string_append (menu_string, "MAN TRIG"); + menu_string = g_string_append (menu_string, "MAN TRIG"); } else if (globals.ChannelState[chan].trigger_source==source_hold) { menu_string = g_string_append (menu_string, "HOLD TRIG"); } else if (globals.ChannelState[chan].trigger_source==source_immediate) { @@ -367,7 +367,7 @@ void Show_Main_Menu(void) } Display_Number_on_LCD(Menu_Is_Item_Visible(LCD_entry), LCD_row,LCD_col,menu_string->str,show_item,sig_dig,LCD_col_width-1); - g_string_erase (menu_string, 0, -1); + g_string_erase (menu_string, 0, -1); } } @@ -1195,7 +1195,7 @@ static void Display_Number_on_LCD(int Is_Item_Visible,int LCD_row,int LCD_col,ch } LCD_write_padded_spaces(LCD_row, LCD_col, LCD_string, width_of_column); - + g_free (LCD_string); g_free (units); } @@ -1875,7 +1875,7 @@ static void Submenu_Display(int change_selection) } else { String_Parameter_To_Text(globals.Flash.min_ampl[channel],2,"","A",&tmp_str,YES,LCD_col_width); } - + strcpy (mode_name[i], tmp_str); // FIXME if (fabs(globals.ChannelState[channel].amplitude-globals.Flash.min_ampl[channel])