Browse Source

Header multiple include protection should match the filename, not just _ARDUINO_H, which is almost bound to go wrong some day.

daid303 12 years ago
parent
commit
7a02ba361c
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/fastio.h

+ 3
- 3
Marlin/fastio.h View File

@@ -3,8 +3,8 @@
3 3
   why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
4 4
 */
5 5
 
6
-#ifndef	_ARDUINO_H
7
-#define	_ARDUINO_H
6
+#ifndef	_FASTIO_ARDUINO_H
7
+#define	_FASTIO_ARDUINO_H
8 8
 
9 9
 #include <avr/io.h>
10 10
 
@@ -2579,4 +2579,4 @@ pins
2579 2579
 #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
2580 2580
 #endif
2581 2581
 
2582
-#endif /* _ARDUINO_H */
2582
+#endif /* _FASTIO_ARDUINO_H */

Loading…
Cancel
Save