diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2017-10-05 15:31:45 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2017-10-05 15:31:45 -0400 |
commit | 7b128fb906887ea3837c355ccb7960deccedee21 (patch) | |
tree | a325d227bb4f1f37d29a46402b05dc72fc5be722 /menus.c | |
parent | 1d63bc691969647c4a46d9df59dab54fc90e447a (diff) |
set aux word when setting nominal amplitude, for EA V1INSTRUMENT_6_2_28b
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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; |