mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19779
19779: cpu/atmega_common: make vera++ happy r=maribu a=maribu ### Contribution description 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. Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
This commit is contained in:
commit
6fc006421b
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user