Commit Graph

8 Commits

Author SHA1 Message Date
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 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
Markus Hitter 468b212077 Move micrometer conversion from config.h(.dist) to
dda.c, where it's used.
2010-10-07 21:34:38 +02:00
Markus Hitter e0ffa134bf Move mm -> inch conversion macros from config.h(.dist) to gcode.c,
as this isn't meant to be user configurable.
2010-10-07 21:34:36 +02:00
Markus Hitter da5194a54e Tidy up config.h.dist a bit. 2010-10-07 21:34:34 +02:00
Markus Hitter 4bddf3452f Move stepper macros from config.h(.dist) to dda.c, as they're not
meant to be configured by the user.
2010-10-07 21:34:29 +02:00
Markus Hitter f29c675fcc Wrap the watchdog in #ifdefs and disable it for now. My poor imagination
can't think of a situation where resetting the controller in the middle
of a build would be useful. Even hanging ist better :-/

The difference in program size is just 238 bytes.
2010-10-02 16:15:29 +02:00
Michael Moon e78381c56d Move configuration to config.h.dist 2010-09-27 09:20:07 +10:00