Fixed max y switch
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Tue, 11 Jul 2017 04:32:05 +0000 (21:32 -0700)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Tue, 11 Jul 2017 04:32:05 +0000 (21:32 -0700)
avr/src/switch.c

index 91a29fa0494674dfd8d66ee18e124734d395723a..8acd4988b9510a1d9897aba314ee9a39e08d358b 100644 (file)
@@ -74,7 +74,7 @@ static switch_t switches[SWITCHES] = {
   {.pin = MIN_X_PIN, .type = SW_DISABLED},
   {.pin = MAX_X_PIN, .type = SW_DISABLED},
   {.pin = MIN_Y_PIN, .type = SW_DISABLED},
-  {.pin = MAX_X_PIN, .type = SW_DISABLED},
+  {.pin = MAX_Y_PIN, .type = SW_DISABLED},
   {.pin = MIN_Z_PIN, .type = SW_DISABLED},
   {.pin = MAX_Z_PIN, .type = SW_DISABLED},
   {.pin = MIN_A_PIN, .type = SW_DISABLED},