X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/99e4226b74acd4286b735b5da275853701dcacf0..453203717769c12e37678c93fcaf4150f2d16a39:/bmc/i2c.h diff --git a/bmc/i2c.h b/bmc/i2c.h index d666669..7b783d7 100644 --- a/bmc/i2c.h +++ b/bmc/i2c.h @@ -1,3 +1,8 @@ #define BMC_ADDR 0x24 +extern volatile unsigned char i2c_databuf[24]; +extern volatile uint8_t i2c_len; +extern volatile uint8_t i2c_done; + void i2c_init(); +void i2c_send(unsigned char *buf, int len);