Revision 5f7a1707
Debugging BOM
scout_avr/bom/tiny-twi.c | ||
---|---|---|
81 | 81 |
static void twi_send_data() { |
82 | 82 |
twi_set_ctr(0); |
83 | 83 |
if (send_queue.start == send_queue.end && !send_queue.full) { |
84 |
USIDR = 0; |
|
84 |
USIDR = 0xFF;
|
|
85 | 85 |
} else { |
86 | 86 |
USIDR = send_queue.data[send_queue.start++]; |
87 | 87 |
if (send_queue.start == SEND_BUF_SIZE) |
Also available in: Unified diff