Revision d88f80e5
Added blinky test program
scout_avr/bom/bootloader.c | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
static void slave_rx(uint8_t *buf, int len) { |
55 |
if (len > 1) { |
|
55 |
if (len >= 1) {
|
|
56 | 56 |
switch (buf[0]) { |
57 | 57 |
case BOM_I2C_PGRM: |
58 | 58 |
bom_pgrm(buf+1, len-1); |
Also available in: Unified diff