From: lottaviano Date: Wed, 2 Sep 2009 09:30:05 +0000 (+0000) Subject: Suppress correct warning in nightly test. X-Git-Tag: 2.2.0~110 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=35984d9d422b21231df15f13aa3eea623471c297;p=bertos.git Suppress correct warning in nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2858 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/ser_avr.c b/bertos/cpu/avr/drv/ser_avr.c index f4cf42de..c94bf6b0 100644 --- a/bertos/cpu/avr/drv/ser_avr.c +++ b/bertos/cpu/avr/drv/ser_avr.c @@ -46,6 +46,7 @@ #include /* DIV_ROUND */ #include +#include // ARCH_NIGHTTEST #include #include @@ -453,6 +454,9 @@ static void spi_init(UNUSED_ARG(struct SerialHardware *, _hw), UNUSED_ARG(struct * - as input but tied high forever! * This driver set the pin as output. */ + #if (ARCH & ARCH_NIGHTTEST) + #warning __FILTER_NEXT_WARNING__ + #endif #warning SPI SS pin set as output for proper operation, check schematics for possible conflicts. ATOMIC(SPI_DDR |= BV(SPI_SS_BIT));