From 35984d9d422b21231df15f13aa3eea623471c297 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Wed, 2 Sep 2009 09:30:05 +0000 Subject: [PATCH] Suppress correct warning in nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2858 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/drv/ser_avr.c | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- 2.25.1