AT90USB is only defined after pins.h is included.

This commit is contained in:
Johann Rocholl 2012-12-09 01:40:33 -08:00
parent 6cba11f087
commit 621c24a10f

View File

@ -4,10 +4,6 @@
#ifndef MARLIN_H
#define MARLIN_H
#ifndef AT90USB
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#define FORCE_INLINE __attribute__((always_inline)) inline
#include <math.h>
@ -26,6 +22,10 @@
#include "Configuration.h"
#include "pins.h"
#ifndef AT90USB
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#if ARDUINO >= 100
#if defined(__AVR_ATmega644P__)
#include "WProgram.h"