Project

General

Profile

Revision 5f7a1707

ID5f7a1707e50d0cf0a974c9c34688dd58f477d57f
Parent e4d78d85
Child a75b176a

Added by Thomas Mullins over 2 years ago

Debugging BOM

View differences:

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