summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2016-01-24 16:06:58 +0100
committerFlorian Jung <flo@windfisch.org>2016-01-24 16:06:58 +0100
commit7c2ece0331e0cd9dad9f738698c1d58d04558858 (patch)
tree96a07570f2c41528b5b2acf3aa3c522ad4dd24ab /avr/main.c
parentfe742e35d3fa6d69125e9f463cbbe1c6032969ca (diff)
tut
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/avr/main.c b/avr/main.c
index 5c9742f..e1a4099 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -72,7 +72,8 @@ usbMsgLen_t usbFunctionSetup(uchar data[8])
case FUNC_WRITE:
PORTC ^= LED_RED;
//strcpy(replyBuffer, "Hello world");
- len = strlen(replyBuffer)+1;
+ //len = strlen(replyBuffer)+1;
+ len = 130;
break;
}
@@ -159,7 +160,7 @@ int main(void)
if (result == 0)
{
PORTC &= ~LED_GREEN;
- ds1992_read(0x00, replyBuffer, 128);
+ ds1992_read(42, replyBuffer, 128);
}
else if (result == 1)
PORTC &= ~LED_RED;