Skip to content
Snippets Groups Projects
Commit 621c24a1 authored by Johann Rocholl's avatar Johann Rocholl
Browse files

AT90USB is only defined after pins.h is included.

parent 6cba11f0
Branches
Tags
No related merge requests found
...@@ -4,10 +4,6 @@ ...@@ -4,10 +4,6 @@
#ifndef MARLIN_H #ifndef MARLIN_H
#define MARLIN_H #define MARLIN_H
#ifndef AT90USB
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#define FORCE_INLINE __attribute__((always_inline)) inline #define FORCE_INLINE __attribute__((always_inline)) inline
#include <math.h> #include <math.h>
...@@ -26,6 +22,10 @@ ...@@ -26,6 +22,10 @@
#include "Configuration.h" #include "Configuration.h"
#include "pins.h" #include "pins.h"
#ifndef AT90USB
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#if ARDUINO >= 100 #if ARDUINO >= 100
#if defined(__AVR_ATmega644P__) #if defined(__AVR_ATmega644P__)
#include "WProgram.h" #include "WProgram.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment