From 52c1b9a7bc7bb6d0d5df301de55d86820e9947c8 Mon Sep 17 00:00:00 2001 From: aleph Date: Fri, 5 Nov 2010 09:35:27 +0000 Subject: [PATCH] sam3n-ek example: fix led handling git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4506 38d2e660-2303-0410-9eaa-f027e97ec537 --- boards/sam3n-ek/examples/display/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/sam3n-ek/examples/display/main.c b/boards/sam3n-ek/examples/display/main.c index b6c856e0..54862585 100644 --- a/boards/sam3n-ek/examples/display/main.c +++ b/boards/sam3n-ek/examples/display/main.c @@ -81,21 +81,21 @@ static hptime_t start, end; INLINE void led_on(int idx) { if (idx == 0) - LED_ON(LED_BLUE_PIN); + LED_BLUE_ON(); else if (idx == 1) - LED_ON(LED_GREEN_PIN); + LED_GREEN_ON(); else if (idx == 2) - LED_ON(LED_AMBER_PIN); + LED_AMBER_ON(); } INLINE void led_off(int idx) { if (idx == 0) - LED_OFF(LED_BLUE_PIN); + LED_BLUE_OFF(); else if (idx == 1) - LED_OFF(LED_GREEN_PIN); + LED_GREEN_OFF(); else if (idx == 2) - LED_OFF(LED_AMBER_PIN); + LED_AMBER_OFF(); } static bool led_blinking; -- 2.25.1