make sensor and heater structs visually smaller

This commit is contained in:
Michael Moon 2010-11-11 00:55:07 +11:00
parent cb4e157d62
commit 7dc8f8d8ff
1 changed files with 4 additions and 10 deletions

View File

@ -228,11 +228,8 @@ struct {
uint8_t heater_index; uint8_t heater_index;
} temp_sensors[NUM_TEMP_SENSORS] = } temp_sensors[NUM_TEMP_SENSORS] =
{ {
{ // type pin heater
TT_INTERCOM, { TT_INTERCOM, 0, 0 }
0,
0
}
}; };
#endif #endif
@ -269,11 +266,8 @@ struct {
volatile uint8_t *heater_pwm; volatile uint8_t *heater_pwm;
} heaters[NUM_HEATERS]/* = } heaters[NUM_HEATERS]/* =
{ {
{ // port pin pwm
&PORTD, { &PORTD, PIND6, &OCR0A }
PIND6,
&OCR0A
}
}*/; }*/;
#endif #endif