Browse Source

made it compile if arduino decides to include files in a differnt order. DEC HEX and stuff now defined in MarlinSerial.h

Bernhard 13 years ago
parent
commit
7a4be21b4f
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      Marlin/MarlinSerial.h

+ 9
- 0
Marlin/MarlinSerial.h View File

@@ -24,8 +24,17 @@
24 24
 
25 25
 #include <inttypes.h>
26 26
 #include <Stream.h>
27
+#include <string.h>
27 28
 #define  FORCE_INLINE __attribute__((always_inline)) inline
28 29
 
30
+#include "WString.h"
31
+
32
+#define DEC 10
33
+#define HEX 16
34
+#define OCT 8
35
+#define BIN 2
36
+#define BYTE 0
37
+
29 38
 
30 39
 
31 40
 // Define constants and variables for buffering incoming serial data.  We're

Loading…
Cancel
Save