Skip to content

Commit b4d6f66

Browse files
committed
fix: broken/missing exports
missing `WatchdogConfig` export, and `ADCMuxInputType`/`ADCReference` were exported just as types, without the actual values.
1 parent 40e8db4 commit b4d6f66

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/index.ts

+7-6
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ export { CPU } from './cpu/cpu';
88
export type { CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
99
export { avrInstruction } from './cpu/instruction';
1010
export { avrInterrupt } from './cpu/interrupt';
11-
export { adcConfig, atmega328Channels, AVRADC } from './peripherals/adc';
12-
export type {
13-
ADCConfig,
14-
ADCMuxConfiguration,
15-
ADCMuxInput,
11+
export {
12+
adcConfig,
1613
ADCMuxInputType,
1714
ADCReference,
15+
atmega328Channels,
16+
AVRADC,
1817
} from './peripherals/adc';
18+
export type { ADCConfig, ADCMuxConfiguration, ADCMuxInput } from './peripherals/adc';
1919
export { AVRClock, clockConfig } from './peripherals/clock';
2020
export type { AVRClockConfig } from './peripherals/clock';
2121
export { AVREEPROM, eepromConfig, EEPROMMemoryBackend } from './peripherals/eeprom';
22-
export type { EEPROMBackend, AVREEPROMConfig } from './peripherals/eeprom';
22+
export type { AVREEPROMConfig, EEPROMBackend } from './peripherals/eeprom';
2323
export {
2424
AVRIOPort,
2525
INT0,
@@ -54,3 +54,4 @@ export * from './peripherals/twi';
5454
export { AVRUSART, usart0Config } from './peripherals/usart';
5555
export { AVRUSI } from './peripherals/usi';
5656
export { AVRWatchdog, watchdogConfig } from './peripherals/watchdog';
57+
export type { WatchdogConfig } from './peripherals/watchdog';

0 commit comments

Comments
 (0)