summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:23:17 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:23:17 +0900
commite12558f1ed16d3bdb96f7f0fbd05b48eb7558a0e (patch)
tree6115cb3a9b6f61e0295715bfa5d3daf3928ce835 /menus.c
parentbee40b77fc98991b4b6ef33b1e738915bc989ff0 (diff)
replace pol_norm and pol_complement with NO/YES for clarity
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/menus.c b/menus.c
index 9ca3cd9..574e8c5 100644
--- a/menus.c
+++ b/menus.c
@@ -869,7 +869,7 @@ void Show_Main_Menu(void)
}
menu_string = g_string_append (menu_string, ":");
- if (globals.ChannelState[chan].inverted==pol_norm) {
+ if (globals.ChannelState[chan].inverted==NO) {
menu_string = g_string_append (menu_string, "NO");
} else {
menu_string = g_string_append (menu_string, "YES");
@@ -1776,13 +1776,13 @@ static void Submenu_Display(int change_selection)
break;
case mode_inv_no:
mode_name = g_strdup("NO (normal)");
- if (globals.ChannelState[channel].inverted==pol_norm) {
+ if (globals.ChannelState[channel].inverted==NO) {
current_operating_mode=i;
}
break;
case mode_inv_yes:
mode_name = g_strdup("YES (inverted)");
- if (globals.ChannelState[channel].inverted==pol_complement) {
+ if (globals.ChannelState[channel].inverted==YES) {
current_operating_mode=i;
}
break;
@@ -3156,12 +3156,12 @@ static int Submenu_Implement_Changes(void)
GPIB_go_to_local();
break;
case mode_inv_no:
- if (error_num=Set_Inverted(channel,pol_norm)) {
+ if (error_num=Set_Inverted(channel,NO)) {
return error_num;
}
break;
case mode_inv_yes:
- if (error_num=Set_Inverted(channel,pol_complement)) {
+ if (error_num=Set_Inverted(channel,YES)) {
return error_num;
}
break;