diff --git a/firmware/src/constants.h b/firmware/src/constants.h index 4e9b613..4d838ad 100644 --- a/firmware/src/constants.h +++ b/firmware/src/constants.h @@ -4,7 +4,7 @@ #define DEBUG_I2C 0 #define DEBUG_PRINT_EVENTS 1 -#define DEBUG_DISABLE_SPINDLE 1 +#define DEBUG_DISABLE_SPINDLE 0 // --- pinout diff --git a/firmware/src/spindle.cpp b/firmware/src/spindle.cpp index c41acc5..27dcc5a 100644 --- a/firmware/src/spindle.cpp +++ b/firmware/src/spindle.cpp @@ -28,8 +28,10 @@ bool validateSpindle() { Serial.println("Could not detect magnet"); return false; } else if (spindle.magnetTooWeak()) { + // NOTE: We get this message all the time even though spindle position reading seems fine + // and we can't bring magnet closer to the IC, so we'll ignore this for now Serial.println("Magnet too weak"); - return false; + // return false; } else if (spindle.magnetTooStrong()) { Serial.println("Magnet too strong"); return false;