From 0c1b58a3392d3f5293854bc999ee1389a3e463ec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 15 Jun 2019 11:52:44 +0200 Subject: Fix number of stops --- src/nanolight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3