From 4ec09f02ee74c19422142941fef36468a8a9e547 Mon Sep 17 00:00:00 2001 From: Chris Boot Date: Sat, 9 Apr 2011 15:53:39 +0000 Subject: [PATCH] * Monitor app uses CONFIG_DIAG_PORT rather than 'PORTA' --- apps/monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/monitor.c b/apps/monitor.c index c4c4138..cc34010 100644 --- a/apps/monitor.c +++ b/apps/monitor.c @@ -46,10 +46,10 @@ PROCESS_THREAD(monitor_process, ev, data) { #if CONFIG_APPS_NETWORK if (ev == net_event) { if (net_status.configured) { - PORTA |= _BV(PINA1); + CONFIG_DIAG_PORT |= _BV(CONFIG_DIAG_PIN1); } else { - PORTA &= ~_BV(PINA1); + CONFIG_DIAG_PORT &= ~_BV(CONFIG_DIAG_PIN1); } } else @@ -61,7 +61,7 @@ PROCESS_THREAD(monitor_process, ev, data) { etimer_restart(&heartbeat); // Toggle heartbeat LED - PORTA ^= _BV(PINA0); + CONFIG_DIAG_PORT ^= _BV(CONFIG_DIAG_PIN0); } } else if (ev == PROCESS_EVENT_EXIT) {