From b0c3871750d55ab66f5233f7c318375aa1b61e43 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Wed, 30 Nov 2011 09:07:56 +0100 Subject: [PATCH] more fixing of the sanguino math round problem --- Marlin/Marlin.h | 1 + Marlin/Marlin.pde | 3 ++- Marlin/MarlinSerial.h | 2 +- Marlin/Sanguino/cores/arduino/wiring.h | 1 + Marlin/Sanguino/cores/arduino/wiring_private.h | 2 +- Marlin/pins.h | 1 + Marlin/planner.h | 2 +- 7 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index 464d7ebf56..574a85ec53 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -4,6 +4,7 @@ // Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware. // Licence: GPL #define HardwareSerial_h // trick to disable the standard HWserial +#include #include #include "fastio.h" #include diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 7c0d31011c..06fd097766 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -25,8 +25,8 @@ http://reprap.org/pipermail/reprap-dev/2011-May/003323.html */ +#include #include - #include "EEPROMwrite.h" #include "fastio.h" #include "Configuration.h" @@ -39,6 +39,7 @@ #include "motion_control.h" #include "cardreader.h" #include "watchdog.h" +#include #define VERSION_STRING "1.0.0 Beta 1" diff --git a/Marlin/MarlinSerial.h b/Marlin/MarlinSerial.h index 051070fde8..76d5a35a1f 100644 --- a/Marlin/MarlinSerial.h +++ b/Marlin/MarlinSerial.h @@ -21,7 +21,7 @@ #ifndef MarlinSerial_h #define MarlinSerial_h - +#include #include //#include #include diff --git a/Marlin/Sanguino/cores/arduino/wiring.h b/Marlin/Sanguino/cores/arduino/wiring.h index e29959b865..0a93678053 100644 --- a/Marlin/Sanguino/cores/arduino/wiring.h +++ b/Marlin/Sanguino/cores/arduino/wiring.h @@ -25,6 +25,7 @@ #ifndef Wiring_h #define Wiring_h +#include #include #include #include "binary.h" diff --git a/Marlin/Sanguino/cores/arduino/wiring_private.h b/Marlin/Sanguino/cores/arduino/wiring_private.h index 11f6f00f28..56c471353d 100644 --- a/Marlin/Sanguino/cores/arduino/wiring_private.h +++ b/Marlin/Sanguino/cores/arduino/wiring_private.h @@ -24,7 +24,7 @@ #ifndef WiringPrivate_h #define WiringPrivate_h - +#include #include #include #include diff --git a/Marlin/pins.h b/Marlin/pins.h index fbb4f194c9..60dd6e5148 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -427,6 +427,7 @@ #define TX_ENABLE_PIN 12 #define RX_ENABLE_PIN 13 + #endif /**************************************************************************************** diff --git a/Marlin/planner.h b/Marlin/planner.h index 741c6f9022..05bef3a230 100644 --- a/Marlin/planner.h +++ b/Marlin/planner.h @@ -23,7 +23,7 @@ #ifndef planner_h #define planner_h - +#include #include "Configuration.h" #include "Marlin.h"