X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/99e4226b74acd4286b735b5da275853701dcacf0..c346d702533dcb7ed5f4554409cda7cf6867e6a6:/bmc/i2c.h diff --git a/bmc/i2c.h b/bmc/i2c.h index d666669..2e48d1c 100644 --- a/bmc/i2c.h +++ b/bmc/i2c.h @@ -1,3 +1,6 @@ -#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);