summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-06-20 14:25:01 +0200
committerDavid Lamparter <equinox@diac24.net>2012-06-20 14:25:01 +0200
commite05fcb5afe9412ab2fcd5110bbf077a606810e1a (patch)
tree3f21dff85c13b578900b963235d9168244eb2732
parent53bc987e50d963a3de55a2dd44b2c5762c0e0a06 (diff)
light: cleanup lightswitch code
-rw-r--r--dim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dim.c b/dim.c
index 6414d5f..f10f0e7 100644
--- a/dim.c
+++ b/dim.c
@@ -8,7 +8,7 @@ static void tast_click(void)
uart_puts("# click\n");
if (dim_state) {
dim_state = 0;
- dali_send(0xff00);
+ dali_send(DALI_ADDR | 0x100);
PORTD |= (1 << D_LED1);
} else {
dim_state = 0xfe;