diff options
Diffstat (limited to 'src/micropeak')
| -rw-r--r-- | src/micropeak/ao_micropeak.c | 8 | ||||
| -rw-r--r-- | src/micropeak/ao_pins.h | 7 | ||||
| -rw-r--r-- | src/micropeak/ao_report_tiny.c | 2 | 
3 files changed, 9 insertions, 8 deletions
| diff --git a/src/micropeak/ao_micropeak.c b/src/micropeak/ao_micropeak.c index bf656979..10e1d0f9 100644 --- a/src/micropeak/ao_micropeak.c +++ b/src/micropeak/ao_micropeak.c @@ -133,11 +133,11 @@ main(void)  	for (;;) {  		time += SAMPLE_SLEEP;  		if (sample_count == 0) -			ao_led_on(AO_LED_BLUE); +			ao_led_on(AO_LED_REPORT);  		ao_delay_until(time);  		ao_pa_get();  		if (sample_count == 0) -			ao_led_off(AO_LED_BLUE); +			ao_led_off(AO_LED_REPORT);  		pa_avg = pa_avg - (pa_avg >> FILTER_SHIFT) + pa;  		pa_diff = pa_ground - pa_avg; @@ -172,10 +172,10 @@ main(void)  		time += SAMPLE_SLEEP;  		ao_delay_until(time);  		if ((sample_count & 3) == 0) -			ao_led_on(AO_LED_BLUE); +			ao_led_on(AO_LED_REPORT);  		ao_pa_get();  		if ((sample_count & 3) == 0) -			ao_led_off(AO_LED_BLUE); +			ao_led_off(AO_LED_REPORT);  #if HAS_EEPROM  		ao_log_micro_data(AO_LOG_MICRO_DATA | pa);  #endif diff --git a/src/micropeak/ao_pins.h b/src/micropeak/ao_pins.h index 64f4444f..257b8694 100644 --- a/src/micropeak/ao_pins.h +++ b/src/micropeak/ao_pins.h @@ -19,10 +19,11 @@  #define _AO_PINS_H_  #include <avr/pgmspace.h> -#define AO_LED_BLUE		(1<<4) +#define AO_LED_ORANGE		(1<<4)  #define AO_LED_SERIAL		4 -#define AO_LED_PANIC		AO_LED_BLUE -#define LEDS_AVAILABLE		(AO_LED_BLUE) +#define AO_LED_PANIC		AO_LED_ORANGE +#define AO_LED_REPORT		AO_LED_ORANGE +#define LEDS_AVAILABLE		(AO_LED_ORANGE)  #define USE_SERIAL_1_STDIN	0  #define HAS_USB			0  #define PACKET_HAS_SLAVE	0 diff --git a/src/micropeak/ao_report_tiny.c b/src/micropeak/ao_report_tiny.c index 5937508b..8b4960c6 100644 --- a/src/micropeak/ao_report_tiny.c +++ b/src/micropeak/ao_report_tiny.c @@ -17,7 +17,7 @@  #include <ao.h> -#define mid(time)	ao_led_for(AO_LED_BLUE, time) +#define mid(time)	ao_led_for(AO_LED_REPORT, time)  #define pause(time)	ao_delay(time)  static void | 
