summaryrefslogtreecommitdiff
path: root/include/status_led.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/status_led.h')
-rw-r--r--include/status_led.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h
index 5a33e31e9..e8ba9fd42 100644
--- a/include/status_led.h
+++ b/include/status_led.h
@@ -236,6 +236,8 @@ void status_led_set (int led, int state);
/***** NetVia ********************************************************/
#elif defined(CONFIG_NETVIA)
+#if !defined(CONFIG_NETVIA_VERSION) || CONFIG_NETVIA_VERSION == 1
+
#define STATUS_LED_PAR im_ioport.iop_pdpar
#define STATUS_LED_DIR im_ioport.iop_pddir
#undef STATUS_LED_ODR
@@ -252,6 +254,7 @@ void status_led_set (int led, int state);
# define STATUS_LED_ACTIVE 0 /* LED on for bit == 0 */
# define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+#endif
/***** CMI ********************************************************/
#elif defined(CONFIG_CMI)