diff options
-rw-r--r-- | device-functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c index 5fca2e5..de954fd 100644 --- a/device-functions.c +++ b/device-functions.c @@ -4958,7 +4958,7 @@ gboolean fixed_ampl_ok (int channel, float use_ampl) { max = number_of_fixed_ampl_points(channel); for (i=0; i<max; i++) { - if (fabs(use_ampl-globals.Flash.fixed_ampl_points[channel][i])<globals.Flash.ampl_zero_equiv[channel]) + if (fabs(use_ampl-globals.Flash.fixed_ampl_points[channel][i])<smallest_allowed_number) return TRUE; } return FALSE; |