 #include "config.h"
 
 const int info = 13;
-unsigned char state = INIT_STATE;1
-int adata, itmp;
-unsigned char data, tmp;
+static unsigned char state = INIT_STATE;
 volatile unsigned char sinfo = 0;
 
 #ifdef USE_INT0

}

void i2c_tx() {
  Wire.write(sinfo);
  sinfo ^= sinfo;
  Wire.write(state);

#endif // USE_INT1

void i2c_rx(int nBytes) {
  static int itmp;
  static unsigned char tmp;
  sinfo |= 4;
  tmp = state;
  state = Wire.read();
