diff --git a/si7005/i2c.c b/si7005/i2c.c index 287a7d5..0183a38 100644 --- a/si7005/i2c.c +++ b/si7005/i2c.c @@ -143,23 +143,19 @@ static U8 addr7r = 0, addr7w = 0; extern volatile unsigned long Global_time; static U16 _c; -static unsigned long wtm; -#define I2C_WAIT(evt, tmo) do{wtm = Global_time; \ - while(Global_time-wtm