From 53d1703cafbddaebaf9a87ce008f1d7cfbce2841 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 00:27:08 +0900 Subject: add TODO for Monday --- device-functions.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device-functions.c b/device-functions.c index 7c10704..f5878ae 100644 --- a/device-functions.c +++ b/device-functions.c @@ -230,6 +230,11 @@ void set_dac(int dac, int word) { /* allows dacs to be disabled (using dac=-1, for example) */ if ((dac >= 0) && (dac < max_dacs)) { + + // TODO: is this one of the ampl DACs? + // If so, calculate |%change| in DAC and multiply by settling time max. + // Then, see if it is larger than any previously calculated settling times (other chans). + // Reset settling time at end of main update. globals.Registers.parallel_DAC_reg[dac]=word; g_print_debug(": set dac %d to %d\n\r",dac,word); } -- cgit