diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 01:17:18 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 01:17:18 +0900 |
commit | ed91ede1defccbb1bc99581a3ff2cc3bf71437b2 (patch) | |
tree | 28dbe600260ab2a59d1efc0d078f0adb38bf1e21 /device-functions.c | |
parent | f2bc3b7cf5e65b3933bf4e23826dd05bd264ba0e (diff) |
Longer gate reset time before cal interval. Needed for highest delays?
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 4 |
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 |