summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c5
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);