Browse Source

more fixing of the sanguino math round problem

Bernhard 13 years ago
parent
commit
b0c3871750

+ 1
- 0
Marlin/Marlin.h View File

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

+ 2
- 1
Marlin/Marlin.pde View File

@@ -25,8 +25,8 @@
25 25
     http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
26 26
  */
27 27
 
28
+#include <math.h>
28 29
 #include <EEPROM.h>
29
-
30 30
 #include "EEPROMwrite.h"
31 31
 #include "fastio.h"
32 32
 #include "Configuration.h"
@@ -39,6 +39,7 @@
39 39
 #include "motion_control.h"
40 40
 #include "cardreader.h"
41 41
 #include "watchdog.h"
42
+#include <stdio.h>
42 43
 
43 44
 
44 45
 #define VERSION_STRING  "1.0.0 Beta 1"

+ 1
- 1
Marlin/MarlinSerial.h View File

@@ -21,7 +21,7 @@
21 21
 
22 22
 #ifndef MarlinSerial_h
23 23
 #define MarlinSerial_h
24
-
24
+#include <math.h>
25 25
 #include <inttypes.h>
26 26
 //#include <Stream.h>
27 27
 #include <string.h>

+ 1
- 0
Marlin/Sanguino/cores/arduino/wiring.h View File

@@ -25,6 +25,7 @@
25 25
 #ifndef Wiring_h
26 26
 #define Wiring_h
27 27
 
28
+#include <math.h>
28 29
 #include <avr/io.h>
29 30
 #include <stdlib.h>
30 31
 #include "binary.h"

+ 1
- 1
Marlin/Sanguino/cores/arduino/wiring_private.h View File

@@ -24,7 +24,7 @@
24 24
 
25 25
 #ifndef WiringPrivate_h
26 26
 #define WiringPrivate_h
27
-
27
+#include <math.h>
28 28
 #include <avr/io.h>
29 29
 #include <avr/interrupt.h>
30 30
 #include <avr/delay.h>

+ 1
- 0
Marlin/pins.h View File

@@ -427,6 +427,7 @@
427 427
     #define TX_ENABLE_PIN	12
428 428
     #define RX_ENABLE_PIN	13
429 429
 
430
+    
430 431
 #endif
431 432
 
432 433
 /****************************************************************************************

+ 1
- 1
Marlin/planner.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
 #ifndef planner_h
25 25
 #define planner_h
26
-
26
+#include <math.h>
27 27
 #include "Configuration.h"
28 28
 #include "Marlin.h"
29 29
 

Loading…
Cancel
Save