summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
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;