summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:12:56 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:12:56 +0900
commit1fbb4f6c9a8bfdd31bc6df9d5ec8ce236ff15baa (patch)
tree9c1375517ab37f574adb2b68958d574e69f5c257
parentfa2db5cc3eaf91caac90b1fdb10e61562199cec8 (diff)
same as last, missed a spotINSTRUMENT_6_4_19b
-rw-r--r--device-functions.c2
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;