From ccbb4e75be5b75b2f67b6fbdc6e1a6f0dfb80294 Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Tue, 18 Jul 2017 14:08:23 +0000 Subject: Resolve warning message: (warning: excess elements in array initializer). git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10333 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/AVR/EXT/main.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'testhal/AVR/EXT/main.c') diff --git a/testhal/AVR/EXT/main.c b/testhal/AVR/EXT/main.c index f3e864d75..263f52902 100644 --- a/testhal/AVR/EXT/main.c +++ b/testhal/AVR/EXT/main.c @@ -44,12 +44,7 @@ static void extcb(EXTDriver *extp, expchannel_t channel) { */ static const EXTConfig extcfg = { { - {EXT_CH_MODE_DISABLED , NULL}, /* INT0 Config. */ - {EXT_CH_MODE_DISABLED , NULL}, /* INT1 Config. */ - {EXT_CH_MODE_DISABLED , NULL}, /* INT2 Config. */ - {EXT_CH_MODE_DISABLED , NULL}, /* INT3 Config. */ {EXT_CH_MODE_RISING_EDGE , extcb}, /* INT4 Config. */ - {EXT_CH_MODE_DISABLED , NULL}, /* INT5 Config. */ } }; -- cgit v1.2.3