Init tare pin once
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
#include "feature/runout.h"
|
||||
#endif
|
||||
|
||||
#if HAS_Z_SERVO_PROBE
|
||||
#if EITHER(PROBE_TARE, HAS_Z_SERVO_PROBE)
|
||||
#include "module/probe.h"
|
||||
#endif
|
||||
|
||||
@@ -1119,6 +1119,10 @@ void setup() {
|
||||
SETUP_RUN(ui.reset_status()); // Load welcome message early. (Retained if no errors exist.)
|
||||
#endif
|
||||
|
||||
#if ENABLED(PROBE_TARE)
|
||||
SETUP_RUN(probe.tare_init());
|
||||
#endif
|
||||
|
||||
#if BOTH(SDSUPPORT, SDCARD_EEPROM_EMULATION)
|
||||
SETUP_RUN(card.mount()); // Mount media with settings before first_load
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user