]> git.zerfleddert.de Git - rsbs2/blobdiff - bmc/bmc.c
increase size of i2c receive buffer
[rsbs2] / bmc / bmc.c
index 99427f6580713ccbda8093a75b24e6b49897c206..c96cf6a0bf4a867682535408ac99733cf970b8d7 100644 (file)
--- a/bmc/bmc.c
+++ b/bmc/bmc.c
@@ -1,5 +1,6 @@
 #include <avr/io.h>
 #include <avr/interrupt.h>
+#include <avr/sleep.h>
 #include <string.h>
 #include <stdio.h>
 #include "usart.h"
 int main(void)
 {
        uint8_t old_SREG;
-       unsigned char buf[12];
+       unsigned char buf[24];
        unsigned int len;
 
        chassis_init();
        usart_init();
-       printf("\n");
-
        i2c_init();
 
-       printf("Waiting for I2C...\n");
-
        sei();
 
        while(1) {
Impressum, Datenschutz