diff options
| author | Uri Shaked | 2023-01-05 20:59:26 +0200 |
|---|---|---|
| committer | Uri Shaked | 2023-01-05 20:59:26 +0200 |
| commit | b4d6f6663c319c615f66bf97712dd2e995416ecd (patch) | |
| tree | 52235076ae3f3a6580e2db6afd005c5a05a9bfcd /src | |
| parent | ci: add node v18 to test matrix, remove v12/v10 (diff) | |
| download | avr8js-b4d6f6663c319c615f66bf97712dd2e995416ecd.tar.gz avr8js-b4d6f6663c319c615f66bf97712dd2e995416ecd.tar.bz2 avr8js-b4d6f6663c319c615f66bf97712dd2e995416ecd.zip | |
fix: broken/missing exports
missing `WatchdogConfig` export, and `ADCMuxInputType`/`ADCReference` were exported just as types, without the actual values.
Diffstat (limited to '')
| -rw-r--r-- | src/index.ts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/index.ts b/src/index.ts index 1f4c2c7..e529bb6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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, @@ -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'; |
