summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/apbirthday/plate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/apbirthday/plate.cc')
-rw-r--r--digital/io-hub/src/apbirthday/plate.cc17
1 files changed, 4 insertions, 13 deletions
diff --git a/digital/io-hub/src/apbirthday/plate.cc b/digital/io-hub/src/apbirthday/plate.cc
index 3d3483c0..094fb50f 100644
--- a/digital/io-hub/src/apbirthday/plate.cc
+++ b/digital/io-hub/src/apbirthday/plate.cc
@@ -60,23 +60,14 @@ inline void Plate::arm_up ()
inline void Plate::clamp_open ()
{
-#ifdef TARGET_host
- robot->hardware.cherry_plate_clamp.set (false);
-#else
- robot->hardware.cherry_bad_out.set (false);
- robot->hardware.cherry_bad_in.set (true);
-#endif
+ robot->hardware.cherry_plate_clamp_close.set (false);
+ robot->hardware.cherry_plate_clamp_open.set (true);
}
inline void Plate::clamp_close ()
{
-#ifdef TARGET_host
- robot->hardware.cherry_plate_clamp.set (true);
-#else
- robot->hardware.cherry_bad_out.set (true);
- robot->hardware.cherry_bad_in.set (false);
-#endif
-
+ robot->hardware.cherry_plate_clamp_close.set (true);
+ robot->hardware.cherry_plate_clamp_open.set (false);
}
FSM_STATES (PLATE_OFF,