diff options
author | David Lamparter <equinox@diac24.net> | 2012-06-20 14:25:01 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-06-20 14:25:01 +0200 |
commit | e05fcb5afe9412ab2fcd5110bbf077a606810e1a (patch) | |
tree | 3f21dff85c13b578900b963235d9168244eb2732 | |
parent | 53bc987e50d963a3de55a2dd44b2c5762c0e0a06 (diff) |
light: cleanup lightswitch code
-rw-r--r-- | dim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |