Revision 7db6cf9f scout/painter/src/paint-i2c.cpp

View differences:

scout/painter/src/paint-i2c.cpp
67 67
 * This function opens communication to I2C.
68 68
 */
69 69
void i2c_start(void) {
70
  /* TODO error check */
70
  /* @todo error check */
71 71
  fd = open("/dev/i2c-3", O_RDWR);
72 72
  ioctl(fd, I2C_SLAVE, TRACKING_ID);
73 73
}

Also available in: Unified diff