Commit Graph

13 Commits

Author SHA1 Message Date
Michael Moon 1c723f7656 remove definition macros, doesn't work 2011-02-06 21:11:39 +11:00
Michael Moon d1b2754aba sorting out preprocessor interactions 2011-02-06 21:11:39 +11:00
Michael Moon 97f344f0fa changes discussed in chat on pull 19 2011-02-06 21:11:39 +11:00
Stephan Walter fcaa76d3c0 Simpler definition of temp sensors and heaters. 2011-02-01 19:40:27 +11:00
Michael Moon 096d7dfdf3 Merge release-candidate-triffid branch 2011-01-07 23:09:13 +11:00
Stephan Walter 3028b297f3 Add simulation code: use "make sim" 2010-10-21 11:05:55 +11:00
Markus Hitter 80d3fc5233 Revert "heater.h: simplify macros.", as there are in fact situations
where this seemingly obsolete code makes sense.

This reverts commit 896f6e140f.
2010-10-08 12:49:02 +02:00
Markus Hitter 90c00d0eff heater.h: remove the temp_achieved() declaration, which has
no definition in heater.c (but is properly coded in temp.h/.c).
2010-10-07 23:43:51 +02:00
Markus Hitter 2391dc2901 If there's no HEATER_PIN, there's no heater, so disable the
heater code. Also remove the temp_achieved() declaration
in heater.h, which has no definition in heater.c.

If you wonder about what might be the use of not having a heater,
think about a paste dispenser or an externally heated extruder :-)

Having no heater removes a whopping 1200 bytes of program size.
2010-10-07 23:43:46 +02:00
Markus Hitter 896f6e140f heater.h: simplify macros. 2010-10-07 23:43:44 +02:00
Markus Hitter 68f4610e79 heater.h/.c: remove a few obsolete #includes. 2010-10-07 23:43:36 +02:00
Markus Hitter 9839ac9fff Move heater macros from config.h to heater.h, as they're
not meant to be user configurable.
2010-10-07 23:43:22 +02:00
Michael Moon 273d63f242 splitting heater stuff out into a separate file 2010-09-12 14:47:49 +10:00