From 7dc8f8d8ffd9d90c4c4d43e24e83d7a3004784cc Mon Sep 17 00:00:00 2001 From: Michael Moon Date: Thu, 11 Nov 2010 00:55:07 +1100 Subject: [PATCH] make sensor and heater structs visually smaller --- config.h.dist | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/config.h.dist b/config.h.dist index d0708dc..aa9f52f 100644 --- a/config.h.dist +++ b/config.h.dist @@ -228,11 +228,8 @@ struct { uint8_t heater_index; } temp_sensors[NUM_TEMP_SENSORS] = { - { - TT_INTERCOM, - 0, - 0 - } + // type pin heater + { TT_INTERCOM, 0, 0 } }; #endif @@ -269,11 +266,8 @@ struct { volatile uint8_t *heater_pwm; } heaters[NUM_HEATERS]/* = { - { - &PORTD, - PIND6, - &OCR0A - } + // port pin pwm + { &PORTD, PIND6, &OCR0A } }*/; #endif