firmware: enable spindle encoder
parent
fbd2790d3a
commit
9a31f1d1c5
|
@ -4,7 +4,7 @@
|
|||
|
||||
#define DEBUG_I2C 0
|
||||
#define DEBUG_PRINT_EVENTS 1
|
||||
#define DEBUG_DISABLE_SPINDLE 1
|
||||
#define DEBUG_DISABLE_SPINDLE 0
|
||||
|
||||
// --- pinout
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue