1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/atmega_common: make vera++ happy

Vera++ doesn't like `#error` preprocessor directives without a quoted
string afterwards (and also my syntax highlighter doesn't like this as
well). So let's add the quotes to have the tools not spooked out.
This commit is contained in:
Marian Buschsieweke 2023-06-29 22:27:59 +02:00
parent c2df430deb
commit 87e3a611fe
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -53,23 +53,19 @@ static gpio_isr_ctx_t config[GPIO_EXT_INT_NUMOF];
/* Check which pcints should be enabled */
#if defined(MODULE_ATMEGA_PCINT0) && !defined(ATMEGA_PCINT_MAP_PCINT0)
#error \
Either mapping for pin change interrupt bank 0 is missing or not supported by the MCU
# error "Either mapping for pin change interrupt bank 0 is missing or not supported by the MCU"
#endif
#if defined(MODULE_ATMEGA_PCINT1) && !defined(ATMEGA_PCINT_MAP_PCINT1)
#error \
Either mapping for pin change interrupt bank 1 is missing or not supported by the MCU
# error "Either mapping for pin change interrupt bank 1 is missing or not supported by the MCU"
#endif
#if defined(MODULE_ATMEGA_PCINT2) && !defined(ATMEGA_PCINT_MAP_PCINT2)
#error \
Either mapping for pin change interrupt bank 2 is missing or not supported by the MCU
# error "Either mapping for pin change interrupt bank 2 is missing or not supported by the MCU"
#endif
#if defined(MODULE_ATMEGA_PCINT3) && !defined(ATMEGA_PCINT_MAP_PCINT3)
#error \
Either mapping for pin change interrupt bank 3 is missing or not supported by the MCU
# error "Either mapping for pin change interrupt bank 3 is missing or not supported by the MCU"
#endif
/**