summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:17:18 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:17:18 +0900
commited91ede1defccbb1bc99581a3ff2cc3bf71437b2 (patch)
tree28dbe600260ab2a59d1efc0d078f0adb38bf1e21
parentf2bc3b7cf5e65b3933bf4e23826dd05bd264ba0e (diff)
Longer gate reset time before cal interval. Needed for highest delays?
-rw-r--r--device-functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c
index c0472bb..e8a31ec 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -4245,8 +4245,8 @@ int I2C_Self_Cal(int channel, int meas_mode, float *meas, float target_time)
if (meas_mode == MEAS_PW) {
start_gate_override ();
- // delay to let oscillator reset, within 20% of a period?
- g_usleep((gulong) (2.0e5 / globals.ChannelState[channel].frequency));
+ // delay to let oscillator reset - 50% of a period
+ g_usleep((gulong) (5.0e5 / globals.ChannelState[channel].frequency));
}
// reset counters