diff options
-rw-r--r-- | guile/nanolight/fixture.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guile/nanolight/fixture.scm b/guile/nanolight/fixture.scm index ff45c22..0c67975 100644 --- a/guile/nanolight/fixture.scm +++ b/guile/nanolight/fixture.scm @@ -190,7 +190,8 @@ ;; Set the value in the DMX array (u8vector-set! (assq-ref universes universe) - addr (round-dmx value))) + (- addr 1) ; u8vector-set indexing starts from zero + (round-dmx value))) ;; Scan out all fixtures (for-each (lambda (fix) |