浏览代码

Merge pull request #6382 from MagoKimbra/fix_configuration_store

Fix double definition in configuration_store
Scott Lahteine 7 年前
父节点
当前提交
d38a792a91
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0
    7
      Marlin/configuration_store.cpp

+ 0
- 7
Marlin/configuration_store.cpp 查看文件

@@ -1201,13 +1201,6 @@ void MarlinSettings::reset() {
1201 1201
 
1202 1202
   #define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START; }while(0)
1203 1203
 
1204
-  #if ENABLED(INCH_MODE_SUPPORT)
1205
-    extern float linear_unit_factor;
1206
-    #define LINEAR_UNIT(N) ((N) / linear_unit_factor)
1207
-  #else
1208
-    #define LINEAR_UNIT(N) N
1209
-  #endif
1210
-
1211 1204
   /**
1212 1205
    * M503 - Report current settings in RAM
1213 1206
    *

正在加载...
取消
保存