Skip to content

Commit 348c553

Browse files
committed
fix: AVRTimerConfig interface not exported #65
close #65
1 parent 956d5f1 commit 348c553

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
export { CPU, ICPU, CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
88
export { avrInstruction } from './cpu/instruction';
99
export { avrInterrupt } from './cpu/interrupt';
10-
export { AVRTimer, timer0Config, timer1Config, timer2Config } from './peripherals/timer';
10+
export {
11+
AVRTimer,
12+
AVRTimerConfig,
13+
timer0Config,
14+
timer1Config,
15+
timer2Config,
16+
} from './peripherals/timer';
1117
export {
1218
AVRIOPort,
1319
GPIOListener,

src/peripherals/timer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface TimerDividers {
4343
7: number;
4444
}
4545

46-
interface AVRTimerConfig {
46+
export interface AVRTimerConfig {
4747
bits: 8 | 16;
4848
captureInterrupt: u8;
4949
compAInterrupt: u8;

0 commit comments

Comments
 (0)