summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2016-01-24 17:57:48 +0100
committerFlorian Jung <flo@windfisch.org>2016-01-24 17:57:48 +0100
commit8482df6feec66b545459de70f43b2ac66f77501e (patch)
tree37e9324d9a0e0a0ed7ff20a73ce4426a8b3777f2 /avr
parent7c2ece0331e0cd9dad9f738698c1d58d04558858 (diff)
read whole memory m(
Diffstat (limited to 'avr')
-rw-r--r--avr/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/main.c b/avr/main.c
index e1a4099..635c44d 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -160,7 +160,7 @@ int main(void)
if (result == 0)
{
PORTC &= ~LED_GREEN;
- ds1992_read(42, replyBuffer, 128);
+ ds1992_read(0, replyBuffer, 128);
}
else if (result == 1)
PORTC &= ~LED_RED;