From 1c1e46a62504b871e7fd4a6800d25a67a639de9a Mon Sep 17 00:00:00 2001 From: Adam Carmichael Date: Sat, 31 Oct 2020 19:30:12 +1100 Subject: [PATCH] add asm308s suggestion in #100 --- els-f280049c/UserInterface.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/els-f280049c/UserInterface.cpp b/els-f280049c/UserInterface.cpp index 0bf1200..322349e 100644 --- a/els-f280049c/UserInterface.cpp +++ b/els-f280049c/UserInterface.cpp @@ -60,7 +60,11 @@ UserInterface :: UserInterface(ControlPanel *controlPanel, Core *core, FeedTable this->core = core; this->feedTableFactory = feedTableFactory; + #if defined(LEADSCREW_HMM) + this->metric = true; // start out with metric + #else this->metric = false; // start out with imperial + #endif this->thread = false; // start out with feeds this->reverse = false; // start out going forward