From f23535712d6437f647afe9227649ae08798deb35 Mon Sep 17 00:00:00 2001 From: Steffen Windoffer Date: Thu, 21 Dec 2017 14:59:08 +0100 Subject: [PATCH] ignore padding warning in accgyro tests --- src/main/drivers/accgyro/accgyro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/accgyro/accgyro.h b/src/main/drivers/accgyro/accgyro.h index c8f71c680c..77ddba8820 100644 --- a/src/main/drivers/accgyro/accgyro.h +++ b/src/main/drivers/accgyro/accgyro.h @@ -27,7 +27,7 @@ #pragma GCC diagnostic push #if defined(SIMULATOR_BUILD) && defined(SIMULATOR_MULTITHREAD) #include -#else +#elif !defined(UNIT_TEST) #pragma GCC diagnostic warning "-Wpadded" #endif