Revision e4d78d85 scout_avr/bom/tiny-twi.c

View differences:

scout_avr/bom/tiny-twi.c
25 25
uint8_t recv_idx;
26 26
uint8_t recv_data[RECV_BUF_SIZE];
27 27
slave_rx_t onDataRecieved;
28
struct {
28
typedef struct {
29 29
  uint8_t start;
30 30
  uint8_t end;
31 31
  uint8_t data[SEND_BUF_SIZE];
32 32
  bool    full;
33
} send_queue;
33
} queue;
34

  
35
queue send_queue;
34 36

  
35 37
static void twi_set_ctr(char n) {
36 38
  USISR = n;

Also available in: Unified diff