]> git.gag.com Git - debian/cc1111/blob - device/lib/pic16/libio/i2c/i2cdrdy.c
fix build failures with gcc-8, using a rather large stick
[debian/cc1111] / device / lib / pic16 / libio / i2c / i2cdrdy.c
1
2 #include <pic18fregs.h>
3
4 #include <i2c.h>
5
6
7 unsigned char i2c_drdy(void)
8 {
9   if(SSPSTATbits.BF)return (+1);
10   else return (0);
11 }