Skip to content

Commit

Permalink
fix: AVRTimerConfig interface not exported #65
Browse files Browse the repository at this point in the history
close #65
  • Loading branch information
urish committed Nov 14, 2020
1 parent 956d5f1 commit 348c553
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,13 @@
export { CPU, ICPU, CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
export { avrInstruction } from './cpu/instruction';
export { avrInterrupt } from './cpu/interrupt';
export { AVRTimer, timer0Config, timer1Config, timer2Config } from './peripherals/timer';
export {
AVRTimer,
AVRTimerConfig,
timer0Config,
timer1Config,
timer2Config,
} from './peripherals/timer';
export {
AVRIOPort,
GPIOListener,
2 changes: 1 addition & 1 deletion src/peripherals/timer.ts
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ interface TimerDividers {
7: number;
}

interface AVRTimerConfig {
export interface AVRTimerConfig {
bits: 8 | 16;
captureInterrupt: u8;
compAInterrupt: u8;

0 comments on commit 348c553

Please sign in to comment.