summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2017-10-05 15:31:45 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2017-10-05 15:31:45 -0400
commit7b128fb906887ea3837c355ccb7960deccedee21 (patch)
treea325d227bb4f1f37d29a46402b05dc72fc5be722 /menus.c
parent1d63bc691969647c4a46d9df59dab54fc90e447a (diff)
set aux word when setting nominal amplitude, for EA V1INSTRUMENT_6_2_28b
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/menus.c b/menus.c
index 574e8c5..9bf9623 100644
--- a/menus.c
+++ b/menus.c
@@ -2242,7 +2242,7 @@ static int Submenu_Mult_Value(float mult_by)
}
}
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,new_value,0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,new_value,0)) {
Submenu_Value=new_value;
}
break;
@@ -2721,7 +2721,7 @@ static void Submenu_Service_Encoder(int encoder_change)
}
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,new_value,0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,new_value,0)) {
Submenu_Value=new_value;
}
break;
@@ -3223,52 +3223,52 @@ static int Submenu_Implement_Changes(void)
// hard-coded count of 10 - not ideal!
case (mode_ampl_fixed_point0):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][0],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][0],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point1):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][1],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][1],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point2):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][2],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][2],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point3):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][3],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][3],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point4):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][4],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][4],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point5):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][5],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][5],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point6):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][6],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][6],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point7):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][7],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][7],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point8):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][8],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][8],0)) {
return error_num;
}
break;
case (mode_ampl_fixed_point9):
- if (error_num=Set_Amplitude(0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][9],0)) {
+ if (error_num=Set_Amplitude(0,0,0,0,0,0,0,channel,globals.Flash.fixed_ampl_points[channel][9],0)) {
return error_num;
}
break;