summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-31 13:58:42 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-31 13:58:42 -0400
commit6cd0a7b014451b074ac2f0ef827e482277309920 (patch)
treeefc3030f942a8a427949a5db81aa4427257624d0 /menus.c
parent754eb84c5c7e10c9b6c4060e230300b090a95bee (diff)
astyle fixes
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c18
1 files changed, 9 insertions, 9 deletions
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])<globals.Flash.ampl_zero_equiv[channel]) {
@@ -1889,7 +1889,7 @@ static void Submenu_Display(int change_selection)
String_Parameter_To_Text(globals.Flash.max_ampl[channel],2,"","A",&tmp_str,YES,LCD_col_width);
}
- strcpy (mode_name[i], tmp_str); // FIXME
+ strcpy (mode_name[i], tmp_str); // FIXME
if (fabs(globals.ChannelState[channel].amplitude-globals.Flash.max_ampl[channel])<globals.Flash.ampl_zero_equiv[channel]) {
current_operating_mode=i;
@@ -1959,7 +1959,7 @@ static void Submenu_Display(int change_selection)
}
}
- /* If change_selection==NO, the submenu is being drawn from scratch.
+ /* If change_selection==NO, the submenu is being drawn from scratch.
this case, the arrow pointer points at the current operating mode.
If change_selection=YES, the submenu is being redrawn to scroll
the mode list. In this case, the arrow pointer points at the current
@@ -1998,7 +1998,7 @@ static void Submenu_Display(int change_selection)
if ((base_entry+3) < Submenu_max_entry) {
LCD_write(3,39,"\x3");
}
-
+
g_free (tmp_str);
}
}
@@ -2055,7 +2055,7 @@ static int Submenu_Mult_Value(float mult_by)
new_value=zero_equiv_timing;
}
}
-
+
if (fabs(new_value) < zero_equiv_timing) {
if (new_value<0.0) {
new_value=-smallest_allowed_number;