diff options
-rw-r--r-- | instr-daemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 45ba979..24ca15b 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -244,10 +244,12 @@ int main(int argc, char **argv) int i; for (i=0; i<std_dacs; i++) { + // on-board DACs have configurable default values set_dac(i,globals.Flash.initial_dac_settings[i]); } for (i=std_dacs; i<max_dacs; i++) { - set_dac(i,dac_max/8); + // expansion DACs default to zero at power-up + set_dac(i,0); } fixFlash(&globals.Flash); |