From 2cbbe3d3f5c9499afa13a65a416f3d836c84fbfc Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Wed, 29 Aug 2012 00:28:15 +0200 Subject: [PATCH] misc debugging --- ambient.c | 2 +- gpio.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ambient.c b/ambient.c index e14e024..cbbef9e 100644 --- a/ambient.c +++ b/ambient.c @@ -42,7 +42,7 @@ void ambient_adc(uint16_t adcval) if (!ambient_zone_set || newzone != ambient_zone) { ambient_zone = newzone; ambient_zone_set = 1; - ambient_zone_changed(); + // ambient_zone_changed(); } } diff --git a/gpio.c b/gpio.c index e0f58b9..2ee3210 100644 --- a/gpio.c +++ b/gpio.c @@ -6,6 +6,8 @@ void gpio_init() { DDRB |= _BV(PB2) | _BV(PB4); PORTB &=~ (_BV(PB2) | _BV(PB4)); + + gpio_set(GPIO_LED2, 1); } void gpio_set(unsigned char n, unsigned char on) -- 2.39.3