extruder: sync heater.c

This commit is contained in:
Markus Amsler 2011-04-05 02:14:34 +02:00
parent 57a75ecbfb
commit 0a92c13051
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ typedef struct {
#undef DEFINE_HEATER
/// \brief helper macro to fill heater definition struct from config.h
// #define DEFINE_HEATER(name, port, pin, pwm) { &(port), (pin), &(pwm) },
#define DEFINE_HEATER(name, pin) { &(pin ## _WPORT), pin ## _PIN, &(pin ## _PWM) },
#define DEFINE_HEATER(name, pin) { &(pin ## _WPORT), pin ## _PIN, (pin ## _PWM) },
static const heater_definition_t heaters[NUM_HEATERS] =
{
#include "config.h"