diff options
| author | Uri Shaked | 2025-02-11 10:31:57 +0200 |
|---|---|---|
| committer | Uri Shaked | 2025-02-11 10:31:57 +0200 |
| commit | 9ce22e49cf1110d0a8c1943877dc32e6568354cc (patch) | |
| tree | 6ad61569ee9a311b5ca8f330948b2136b2c04ed5 /src/peripherals/gpio.ts | |
| parent | chore: replace ts-node with tsx (diff) | |
| download | avr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.tar.gz avr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.tar.bz2 avr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.zip | |
chore(deps): upgrade prettier
reformat all code with the new prettier version
Diffstat (limited to 'src/peripherals/gpio.ts')
| -rw-r--r-- | src/peripherals/gpio.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/peripherals/gpio.ts b/src/peripherals/gpio.ts index 0da9d50..92435b9 100644 --- a/src/peripherals/gpio.ts +++ b/src/peripherals/gpio.ts @@ -219,7 +219,10 @@ export class AVRIOPort { private lastPin: u8 = 0; openCollector: u8 = 0; - constructor(private cpu: CPU, readonly portConfig: Readonly<AVRPortConfig>) { + constructor( + private cpu: CPU, + readonly portConfig: Readonly<AVRPortConfig>, + ) { cpu.gpioPorts.add(this); cpu.gpioByPort[portConfig.PORT] = this; @@ -259,7 +262,7 @@ export class AVRIOPort { enableRegister: externalConfig.EIMSK, enableMask: 1 << externalConfig.index, } - : null + : null, ); const EICR = new Set(externalInterrupts.map((item) => item?.EICR)); for (const EICRx of EICR) { |
