summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2013-03-10 04:40:50 +0100
committerDavid Lamparter <equinox@diac24.net>2013-03-10 04:40:50 +0100
commitba9ebfeaa0db26df45399a9b87fc46c2eaedcc63 (patch)
tree2e4ce5b36023cefd1145d4266af440fa50c1a72d
parent3a776c311ccd2bc456d7563d1cebfdc832bdad57 (diff)
can: kick some debug
-rw-r--r--can.c2
-rw-r--r--dali2.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/can.c b/can.c
index 2f1cba3..370cfd6 100644
--- a/can.c
+++ b/can.c
@@ -274,8 +274,10 @@ static void can_preinit(void)
spi_wrrd(0xb0);
uint8_t status = spi_wrrd(0xff);
spi_ss(1);
+#if 0
uart_puts("can: status ");
uart_puthex(status);
uart_puts("\n");
+#endif
}
diff --git a/dali2.c b/dali2.c
index 92e0ea5..5b5c8d7 100644
--- a/dali2.c
+++ b/dali2.c
@@ -217,7 +217,6 @@ static void dali_send(uint16_t word)
uart_puthex(word & 0xff);
uart_puts("\n");
uart_wait();
- dbufpos = -35;
#endif
dali_rx_avail = 0;