ソースを参照

Merge branch 'Development' into marlin_configurator

Latest upstream changes
Scott Lahteine 10年前
コミット
8b6766b37b
5個のファイルの変更3164行の追加2592行の削除
  1. 22
    0
      Documentation/GCodes.md
  2. 3132
    2583
      Marlin/Marlin_main.cpp
  3. 5
    4
      Marlin/language.h
  4. 2
    2
      Marlin/temperature.cpp
  5. 3
    3
      README.md

+ 22
- 0
Documentation/GCodes.md ファイルの表示

@@ -101,3 +101,25 @@
101 101
 *  M908 - Control digital trimpot directly.
102 102
 *  M928 - Start SD logging (M928 filename.g) - ended by M29
103 103
 *  M999 - Restart after being stopped by error
104
+
105
+# Comments
106
+
107
+Comments start at a `;` (semicolon) and end with the end of the line:
108
+
109
+    N3 T0*57 ; This is a comment
110
+    N4 G92 E0*67
111
+    ; So is this
112
+    N5 G28*22
113
+
114
+(example taken from the [RepRap wiki](http://reprap.org/wiki/Gcode#Comments))
115
+
116
+If you need to use a literal `;` somewhere (for example within `M117`), you can escape semicolons with a `\`
117
+(backslash):
118
+
119
+     M117 Hello \;)
120
+
121
+`\` can also be used to escape `\` itself, if you need a literal `\` in front of a `;`:
122
+
123
+    M117 backslash: \\;and a comment
124
+
125
+Please note that hosts should strip any comments before sending GCODE to the printer in order to save bandwidth.

+ 3132
- 2583
Marlin/Marlin_main.cpp
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 5
- 4
Marlin/language.h ファイルの表示

@@ -169,8 +169,8 @@
169 169
 #define MSG_PID_TIMEOUT                     MSG_PID_AUTOTUNE_FAILED " timeout"
170 170
 #define MSG_BIAS                            " bias: "
171 171
 #define MSG_D                               " d: "
172
-#define MSG_MIN                             " min: "
173
-#define MSG_MAX                             " max: "
172
+#define MSG_T_MIN                           " min: "
173
+#define MSG_T_MAX                           " max: "
174 174
 #define MSG_KU                              " Ku: "
175 175
 #define MSG_TU                              " Tu: "
176 176
 #define MSG_CLASSIC_PID                     " Classic PID "
@@ -226,8 +226,7 @@
226 226
     #define STR_h3 "3"
227 227
     #define STR_Deg "\271"
228 228
     #define STR_THERMOMETER "\002"
229
-  #endif
230
-  #ifdef DISPLAY_CHARSET_HD44780_WESTERN // HD44780 ROM Code: A02 (Western)
229
+  #elif defined(DISPLAY_CHARSET_HD44780_WESTERN) // HD44780 ROM Code: A02 (Western)
231 230
     #define STR_Ae "\216"
232 231
     #define STR_ae "\204"
233 232
     #define STR_Oe "\211"
@@ -239,6 +238,8 @@
239 238
     #define STR_h3 "\263"
240 239
     #define STR_Deg "\337"
241 240
     #define STR_THERMOMETER "\002"
241
+  #elif defined(ULTRA_LCD)
242
+    #error You must enable either DISPLAY_CHARSET_HD44780_JAPAN or DISPLAY_CHARSET_HD44780_WESTERN for your LCD controller.
242 243
   #endif
243 244
 #endif
244 245
 /*

+ 2
- 2
Marlin/temperature.cpp ファイルの表示

@@ -296,8 +296,8 @@ void PID_autotune(float temp, int extruder, int ncycles)
296 296
 
297 297
             SERIAL_PROTOCOLPGM(MSG_BIAS); SERIAL_PROTOCOL(bias);
298 298
             SERIAL_PROTOCOLPGM(MSG_D);    SERIAL_PROTOCOL(d);
299
-            SERIAL_PROTOCOLPGM(MSG_MIN);  SERIAL_PROTOCOL(min);
300
-            SERIAL_PROTOCOLPGM(MSG_MAX);  SERIAL_PROTOCOLLN(max);
299
+            SERIAL_PROTOCOLPGM(MSG_T_MIN);  SERIAL_PROTOCOL(min);
300
+            SERIAL_PROTOCOLPGM(MSG_T_MAX);  SERIAL_PROTOCOLLN(max);
301 301
             if (cycles > 2) {
302 302
               Ku = (4.0 * d) / (3.14159265 * (max - min) / 2.0);
303 303
               Tu = ((float)(t_low + t_high) / 1000.0);

+ 3
- 3
README.md ファイルの表示

@@ -41,7 +41,7 @@ The current Marlin dev team consists of:
41 41
 
42 42
  - Erik van der Zalm ([@ErikZalm](https://github.com/ErikZalm))
43 43
  - [@daid](https://github.com/daid)
44
- 
44
+
45 45
 Sprinters lead developers are Kliment and caru.
46 46
 Grbls lead developer is Simen Svale Skogsrud.
47 47
 Sonney Jeon (Chamnit) improved some parts of grbl
@@ -52,9 +52,9 @@ More features have been added by:
52 52
   - Bradley Feldman,
53 53
   - and others...
54 54
 
55
-## Licence
55
+## License
56 56
 
57
-Marlin is published unde the [GPL license](/Documentation/COPYING.md) because I believe in open development.
57
+Marlin is published under the [GPL license](/Documentation/COPYING.md) because I believe in open development.
58 58
 Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent.
59 59
 
60 60
 [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ErikZalm&url=https://github.com/MarlinFirmware/Marlin&title=Marlin&language=&tags=github&category=software)

読み込み中…
キャンセル
保存