diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 00:37:54 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 00:37:54 +0900 |
commit | 5fb7eccd0d238a976758dd1e33ef18931b83b91f (patch) | |
tree | 092bc4723819b170060b292d9295c574e16dd7ad /instr-daemon.c | |
parent | dd925747f7ac9fad9bb95920dc7b07db48c9c56d (diff) |
implement full control of DACs 8-15
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index fa16202..45ba979 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -243,9 +243,12 @@ int main(int argc, char **argv) g_free (message); int i; - for (i=0; i<8; i++) { + for (i=0; i<std_dacs; i++) { set_dac(i,globals.Flash.initial_dac_settings[i]); } + for (i=std_dacs; i<max_dacs; i++) { + set_dac(i,dac_max/8); + } fixFlash(&globals.Flash); |