/* lintel dispensers */
.l1 = {
- .x = 912, /* XXX for red only */
+ .x = 912, /* XXX for yellow only */
.name = "lin_disp1",
},
.l2 = {
- .x = 1312, /* XXX for red only */
+ .x = 1312, /* XXX for yellow only */
.name = "lin_disp2",
},
void strat_set_bounding_box(void)
{
- if (get_color() == I2C_COLOR_RED) {
+ if (get_color() == I2C_COLOR_YELLOW) {
strat_infos.area_bbox.x1 = 300;
strat_infos.area_bbox.y1 = 200;
strat_infos.area_bbox.x2 = 2720; /* needed for c1 */
#ifndef HOST_VERSION
i2c_mechboard_mode_init();
- if (get_color() == I2C_COLOR_RED)
+ if (get_color() == I2C_COLOR_YELLOW)
i2c_mechboard_mode_prepare_pickup(I2C_LEFT_SIDE);
else
i2c_mechboard_mode_prepare_pickup(I2C_RIGHT_SIDE);
strat_set_bounding_box();
/* set lintel position, depending on color */
- if (mainboard.our_color == I2C_COLOR_RED) {
+ if (mainboard.our_color == I2C_COLOR_YELLOW) {
strat_infos.l1.x = 912;
strat_infos.l2.x = 1312;
}