more fixing of the sanguino math round problem

This commit is contained in:
Bernhard 2011-11-30 09:07:56 +01:00
parent 9c57453168
commit b0c3871750
7 changed files with 8 additions and 4 deletions

View File

@ -4,6 +4,7 @@
// Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware. // Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware.
// Licence: GPL // Licence: GPL
#define HardwareSerial_h // trick to disable the standard HWserial #define HardwareSerial_h // trick to disable the standard HWserial
#include <math.h>
#include <WProgram.h> #include <WProgram.h>
#include "fastio.h" #include "fastio.h"
#include <avr/pgmspace.h> #include <avr/pgmspace.h>

View File

@ -25,8 +25,8 @@
http://reprap.org/pipermail/reprap-dev/2011-May/003323.html http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
*/ */
#include <math.h>
#include <EEPROM.h> #include <EEPROM.h>
#include "EEPROMwrite.h" #include "EEPROMwrite.h"
#include "fastio.h" #include "fastio.h"
#include "Configuration.h" #include "Configuration.h"
@ -39,6 +39,7 @@
#include "motion_control.h" #include "motion_control.h"
#include "cardreader.h" #include "cardreader.h"
#include "watchdog.h" #include "watchdog.h"
#include <stdio.h>
#define VERSION_STRING "1.0.0 Beta 1" #define VERSION_STRING "1.0.0 Beta 1"

View File

@ -21,7 +21,7 @@
#ifndef MarlinSerial_h #ifndef MarlinSerial_h
#define MarlinSerial_h #define MarlinSerial_h
#include <math.h>
#include <inttypes.h> #include <inttypes.h>
//#include <Stream.h> //#include <Stream.h>
#include <string.h> #include <string.h>

View File

@ -25,6 +25,7 @@
#ifndef Wiring_h #ifndef Wiring_h
#define Wiring_h #define Wiring_h
#include <math.h>
#include <avr/io.h> #include <avr/io.h>
#include <stdlib.h> #include <stdlib.h>
#include "binary.h" #include "binary.h"

View File

@ -24,7 +24,7 @@
#ifndef WiringPrivate_h #ifndef WiringPrivate_h
#define WiringPrivate_h #define WiringPrivate_h
#include <math.h>
#include <avr/io.h> #include <avr/io.h>
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include <avr/delay.h> #include <avr/delay.h>

View File

@ -427,6 +427,7 @@
#define TX_ENABLE_PIN 12 #define TX_ENABLE_PIN 12
#define RX_ENABLE_PIN 13 #define RX_ENABLE_PIN 13
#endif #endif
/**************************************************************************************** /****************************************************************************************

View File

@ -23,7 +23,7 @@
#ifndef planner_h #ifndef planner_h
#define planner_h #define planner_h
#include <math.h>
#include "Configuration.h" #include "Configuration.h"
#include "Marlin.h" #include "Marlin.h"