From b28e95ca1aa2860c0869041c29a3ba27054e5967 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 4 Mar 2019 23:35:11 -0500 Subject: command: Always pass a string to the DECL_CONSTANT() macro Make it clear that the name of the constant being defined is a string. When the value being defined is also a string, use a new DECL_CONSTANT_STR() macro. Signed-off-by: Kevin O'Connor --- src/avr/adc.c | 2 +- src/avr/hard_pwm.c | 2 +- src/avr/main.c | 2 +- src/avr/timer.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/avr') diff --git a/src/avr/adc.c b/src/avr/adc.c index 3087dce1..8b478d08 100644 --- a/src/avr/adc.c +++ b/src/avr/adc.c @@ -36,7 +36,7 @@ static const uint8_t adc_pins[] PROGMEM = { enum { ADMUX_DEFAULT = 0x40 }; enum { ADC_ENABLE = (1<