diff options
author | Thomas White <taw@physics.org> | 2019-06-15 11:52:44 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-06-15 11:52:44 +0200 |
commit | 0c1b58a3392d3f5293854bc999ee1389a3e463ec (patch) | |
tree | b9013bbecad72c98f934eafb75f1a036eb1a9e0d /src | |
parent | 98a1c21c18d94e3354df6f3cc30cfbf8cdcfebd4 (diff) |
Fix number of stops
Diffstat (limited to 'src')
-rw-r--r-- | src/nanolight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nanolight.c b/src/nanolight.c index cd9f369..208d8e4 100644 --- a/src/nanolight.c +++ b/src/nanolight.c @@ -767,7 +767,7 @@ int main(int argc, char *argv[]) cls.attrs[7].addr_offset = 24; cls.attrs[7].home = 0; cls.attrs[7].stops = rgobo_stops; - cls.attrs[7].home = 7; + cls.attrs[7].n_stops = 7; cls.attrs[8].cls = ATT_ZOOM; cls.attrs[8].props = ATTR_16BIT; |