From 3d1a86e9fb0b9495a726dab534e97c063b5f368b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 3 Mar 2015 10:02:55 +0000 Subject: MISRA-related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7710 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINOMEGA/mcuconf.h | 5 +++++ demos/AVR/RT-ARDUINOMEGA/mcuconf.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'demos/AVR') diff --git a/demos/AVR/NIL-ARDUINOMEGA/mcuconf.h b/demos/AVR/NIL-ARDUINOMEGA/mcuconf.h index cb354779e..3682828bf 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/mcuconf.h +++ b/demos/AVR/NIL-ARDUINOMEGA/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * AVR drivers configuration. * The following settings override the default settings present in @@ -77,3 +80,5 @@ */ #define AVR_SPI_USE_SPI1 FALSE #define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +#endif /* _MCUCONF_H_ */ diff --git a/demos/AVR/RT-ARDUINOMEGA/mcuconf.h b/demos/AVR/RT-ARDUINOMEGA/mcuconf.h index cb354779e..3682828bf 100644 --- a/demos/AVR/RT-ARDUINOMEGA/mcuconf.h +++ b/demos/AVR/RT-ARDUINOMEGA/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * AVR drivers configuration. * The following settings override the default settings present in @@ -77,3 +80,5 @@ */ #define AVR_SPI_USE_SPI1 FALSE #define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +#endif /* _MCUCONF_H_ */ -- cgit v1.2.3