From 0af40cf27d5efb096d1d72805831a24c80640721 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Sun, 16 Jan 2011 10:44:48 +0100 Subject: [PATCH] [avr] couple the LED heartbeat to activity on the SPI bus --- mote/v2/avr/debug.h | 24 +++++++++++++++--------- mote/v2/avr/main.c | 13 ++++++++----- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/mote/v2/avr/debug.h b/mote/v2/avr/debug.h index 98d8a12..1e23d73 100644 --- a/mote/v2/avr/debug.h +++ b/mote/v2/avr/debug.h @@ -1,14 +1,20 @@ #if DBG > 0 /* set LED pin high/low at the start/end of an ISR */ - #define DBG_ISR_BEGIN PORTB |= (1<