浏览代码

Remove definition of VERSION_STRING and replace where usend with STRING_VERSION

AnHardt 9 年前
父节点
当前提交
59315330dd
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      Marlin/Marlin_main.cpp

+ 1
- 3
Marlin/Marlin_main.cpp 查看文件

@@ -61,8 +61,6 @@
61 61
 #include <SPI.h>
62 62
 #endif
63 63
 
64
-#define VERSION_STRING  "1.0.0"
65
-
66 64
 // look here for descriptions of G-codes: http://linuxcnc.org/handbook/gcode/g-code.html
67 65
 // http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes
68 66
 
@@ -587,7 +585,7 @@ void setup()
587 585
   MCUSR=0;
588 586
 
589 587
   SERIAL_ECHOPGM(MSG_MARLIN);
590
-  SERIAL_ECHOLNPGM(VERSION_STRING);
588
+  SERIAL_ECHOLNPGM(STRING_VERSION);
591 589
   #ifdef STRING_VERSION_CONFIG_H
592 590
     #ifdef STRING_CONFIG_H_AUTHOR
593 591
       SERIAL_ECHO_START;

正在加载...
取消
保存