Skip to content

Commit

Permalink
fix: broken/missing exports
Browse files Browse the repository at this point in the history
missing `WatchdogConfig` export, and `ADCMuxInputType`/`ADCReference` were exported just as types, without the actual values.
  • Loading branch information
urish committed Jan 5, 2023
1 parent 40e8db4 commit b4d6f66
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ export { CPU } from './cpu/cpu';
export type { CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
export { avrInstruction } from './cpu/instruction';
export { avrInterrupt } from './cpu/interrupt';
export { adcConfig, atmega328Channels, AVRADC } from './peripherals/adc';
export type {
ADCConfig,
ADCMuxConfiguration,
ADCMuxInput,
export {
adcConfig,
ADCMuxInputType,
ADCReference,
atmega328Channels,
AVRADC,
} from './peripherals/adc';
export type { ADCConfig, ADCMuxConfiguration, ADCMuxInput } from './peripherals/adc';
export { AVRClock, clockConfig } from './peripherals/clock';
export type { AVRClockConfig } from './peripherals/clock';
export { AVREEPROM, eepromConfig, EEPROMMemoryBackend } from './peripherals/eeprom';
export type { EEPROMBackend, AVREEPROMConfig } from './peripherals/eeprom';
export type { AVREEPROMConfig, EEPROMBackend } from './peripherals/eeprom';
export {
AVRIOPort,
INT0,
Expand Down Expand Up @@ -54,3 +54,4 @@ export * from './peripherals/twi';
export { AVRUSART, usart0Config } from './peripherals/usart';
export { AVRUSI } from './peripherals/usi';
export { AVRWatchdog, watchdogConfig } from './peripherals/watchdog';
export type { WatchdogConfig } from './peripherals/watchdog';

0 comments on commit b4d6f66

Please sign in to comment.