From 908f4f46dd26a8514f03a6d34bc6450dd1e2da41 Mon Sep 17 00:00:00 2001 From: Philip Heron Date: Wed, 30 Jun 2010 22:05:47 +0100 Subject: [PATCH] Make local variables static --- rtty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtty.c b/rtty.c index 4fced29..11b10d5 100644 --- a/rtty.c +++ b/rtty.c @@ -24,9 +24,9 @@ #define TXBIT(b) PORTB = (PORTB & ~TXPIN) | ((b) ? TXPIN : 0) -volatile uint8_t txpgm = 0; -volatile uint8_t *txbuf = 0; -volatile uint16_t txlen = 0; +volatile static uint8_t txpgm = 0; +volatile static uint8_t *txbuf = 0; +volatile static uint16_t txlen = 0; ISR(TIMER0_COMPA_vect) {