Commit Graph

3 Commits

Author SHA1 Message Date
Markus Hitter d753e2ca7f ARM: enable temperature control.
Postponed until now to allow better testing of heaters earlier.

Also made pid_init() to handle all heaters at once.
2015-08-13 17:12:12 +02:00
Markus Hitter be6ca4c857 ARM, AVR: support inverted heater pin signals.
Implemented and tested for both platforms. This is quite a big
commit. Unlike with the previous changes to now choosable PWM
frequencies, all board configuration files and Configtool had
to be changed immediately to deal with the additional parameter
in DEFINE_HEATER() and keep AVR builds working (and regression
tests passing).
2015-08-13 17:12:10 +02:00
Markus Hitter ee43a86474 ARM: split out heater-avr.c from heater.c.
Also move #defines from heater.c to heater.h

This operation became bigger than expected, because PID handling
hat to be separated from heater handling. Code and strategy wasn't
changed, but some chunks of code had to be moved.
2015-08-13 16:41:26 +02:00