Make local variables static

master
Philip Heron 2010-06-30 22:05:47 +01:00
rodzic cd7c7395c1
commit 908f4f46dd
1 zmienionych plików z 3 dodań i 3 usunięć

6
rtty.c
Wyświetl plik

@ -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)
{