summaryrefslogtreecommitdiff
path: root/digital
diff options
context:
space:
mode:
Diffstat (limited to 'digital')
-rw-r--r--digital/io-hub/src/guybrush/bottom_clamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/io-hub/src/guybrush/bottom_clamp.c b/digital/io-hub/src/guybrush/bottom_clamp.c
index 737b0b11..ca44c98b 100644
--- a/digital/io-hub/src/guybrush/bottom_clamp.c
+++ b/digital/io-hub/src/guybrush/bottom_clamp.c
@@ -288,7 +288,7 @@ FSM_TRANS_TIMEOUT (CLAMP_INIT_OPEN_ALL_CLAMPS,TIMEOUT_OPEN_CLAMPS,
upper_set_out,CLAMP_SHITTY_STATE)
{
/*if upper set is inside the robot*/
- if(!IO_GET(CONTACT_UPPER_CLAMP_UP))
+ if(IO_GET(CONTACT_UPPER_CLAMP_DOWN))
{
ctx.pos_current = 0;
/* closing all the clamps except the clamp 1 to proceed the find_O function. */