summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-09-19 19:32:16 +0200
committerDavid Lamparter <equinox@diac24.net>2012-09-19 19:32:16 +0200
commita909215be74b915801cef36440f7b2ae10248811 (patch)
tree487e464edd6f638b80e44c2ceb30320f412c2a5e
parentf5f846ea46ca27e2818cb4808117ddf5aaa12d45 (diff)
dim: raise minimum value 0x40 -> 0x55
-rw-r--r--dim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dim.c b/dim.c
index f10f0e7..8a40148 100644
--- a/dim.c
+++ b/dim.c
@@ -60,8 +60,8 @@ static void do_tick(void)
dim_state += dim_dir;
if (dim_state == 0xff)
dim_state = 0xfe;
- if (dim_state < 0x40)
- dim_state = 0x40;
+ if (dim_state < 0x55)
+ dim_state = 0x55;
}
dali_send(DALI_ADDR | dim_state);
}