From 33442a74b4b513d640ada48ab028df3cc36367e2 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 9 Mar 2014 16:55:13 +0700 Subject: [PATCH] fix board_rf1ghznode.c build error --- demos/bsp/boards/microbuilder/board_rf1ghznode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/bsp/boards/microbuilder/board_rf1ghznode.c b/demos/bsp/boards/microbuilder/board_rf1ghznode.c index e8e8051c5..fca3fcc75 100644 --- a/demos/bsp/boards/microbuilder/board_rf1ghznode.c +++ b/demos/bsp/boards/microbuilder/board_rf1ghznode.c @@ -48,7 +48,7 @@ const static struct { uint8_t port; uint8_t pin; -} buttons[BOARD_BUTTON_COUNT] = { { 0, 1 } }; +} buttons[] = { { 0, 1 } }; enum { BOARD_BUTTON_COUNT = sizeof(buttons) / sizeof(buttons[0])