Browse Source

Move pins / Arduino includes to MarlinConfig.h

pull/1/head
Scott Lahteine 8 years ago
parent
commit
7e70a0b05d
  1. 9
      Marlin/Conditionals_post.h
  2. 5
      Marlin/MarlinConfig.h

9
Marlin/Conditionals_post.h

@ -25,15 +25,6 @@
* Defines that depend on configuration but are not editable. * Defines that depend on configuration but are not editable.
*/ */
#include "pins.h"
#ifndef USBCON
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#include "Arduino.h"
#include "macros.h"
#ifndef CONDITIONALS_POST_H #ifndef CONDITIONALS_POST_H
#define CONDITIONALS_POST_H #define CONDITIONALS_POST_H

5
Marlin/MarlinConfig.h

@ -28,6 +28,11 @@
#include "Configuration.h" #include "Configuration.h"
#include "Conditionals_LCD.h" #include "Conditionals_LCD.h"
#include "Configuration_adv.h" #include "Configuration_adv.h"
#include "pins.h"
#ifndef USBCON
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#include "Arduino.h"
#include "Conditionals_post.h" #include "Conditionals_post.h"
#include "SanityCheck.h" #include "SanityCheck.h"

Loading…
Cancel
Save