diff options
author | Florian Jung <flo@windfisch.org> | 2016-01-24 16:06:58 +0100 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2016-01-24 16:06:58 +0100 |
commit | 7c2ece0331e0cd9dad9f738698c1d58d04558858 (patch) | |
tree | 96a07570f2c41528b5b2acf3aa3c522ad4dd24ab /avr/main.c | |
parent | fe742e35d3fa6d69125e9f463cbbe1c6032969ca (diff) |
tut
Diffstat (limited to 'avr/main.c')
-rw-r--r-- | avr/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |