Project

General

Profile

Revision e4d78d85

IDe4d78d85d5a817bc64f705e77b74aada2de347e6
Parent 1b05b4cc
Child 5f7a1707

Added by Julian Binder about 3 years ago

Bugfixes so bom code compiles

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