-/* return true if cob is present */
-static uint8_t state_cob_present(uint8_t side)
-{
- if (side == I2C_LEFT_SIDE)
- return sensor_get(S_LCOB);
- else
- return sensor_get(S_RCOB);
-}
-
-/* return the detected color of the cob (only valid if present) */
-static uint8_t state_cob_color(uint8_t side)
-{
- /* XXX no color sensor for now */
- if (side == I2C_LEFT_SIDE)
- return I2C_COB_WHITE;
- else
- return I2C_COB_WHITE;
-}
-