diff options
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; |