diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-28 17:37:19 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-28 17:37:19 +0530 |
| commit | 18268280dc6c0bd44035b53655ae43e9c88245bd (patch) | |
| tree | c17b1703d8a3deb4cd67a6e6466d024f02a49bb7 /test/stubbed/avr/io.h | |
| parent | 02c12bfedcf669df81491ea49502a982e980bcda (diff) | |
| download | daft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.tar.gz daft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.zip | |
Add set time mode + test for button
Diffstat (limited to 'test/stubbed/avr/io.h')
| -rw-r--r-- | test/stubbed/avr/io.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/stubbed/avr/io.h b/test/stubbed/avr/io.h index 40cc460..c056ef1 100644 --- a/test/stubbed/avr/io.h +++ b/test/stubbed/avr/io.h @@ -2,13 +2,13 @@ #define STUB_AVR_IO #include <stdio.h> -static int DDRA = 0; -static int DDRB = 0; +extern int DDRA; +extern int DDRB; -static int PORTA = 0; -static int PORTB = 0; -static int PINA = 0; -static int PINB = 0; +extern int PORTA; +extern int PORTB; +extern int PINA; +extern int PINB; #define PA0 0 #define PA1 1 @@ -24,23 +24,23 @@ static int PINB = 0; #define PB3 3 #define PB4 4 -static int PRR = 0; -static int TCCR0B = 0; -static int TCCR0A = 0; -static int TIMSK0 = 0; -static int TIFR0 = 0; -static int OCR0A = 0; -static int OCR0B = 0; -static int TCNT0 = 0; -static int TCCR1B = 0; -static int TCCR1A = 0; -static int TIMSK1 = 0; -static int TIFR1 = 0; -static int OCR1A = 0; -static int OCR1B = 0; -static int TCNT1 = 0; -static int TCNT1H = 0; -static int TCNT1L = 0; +extern int PRR; +extern int TCCR0B; +extern int TCCR0A; +extern int TIMSK0; +extern int TIFR0; +extern int OCR0A; +extern int OCR0B; +extern int TCNT0; +extern int TCCR1B; +extern int TCCR1A; +extern int TIMSK1; +extern int TIFR1; +extern int OCR1A; +extern int OCR1B; +extern int TCNT1; +extern int TCNT1H; +extern int TCNT1L; #define CS00 1 #define CS01 1 |
