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/twi.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/twi.ts')
| -rw-r--r-- | src/peripherals/twi.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/peripherals/twi.ts b/src/peripherals/twi.ts index 9af1749..3d0275c 100644 --- a/src/peripherals/twi.ts +++ b/src/peripherals/twi.ts @@ -105,7 +105,11 @@ export class AVRTWI { enableMask: TWCR_TWIE, }; - constructor(private cpu: CPU, private config: TWIConfig, private freqHz: number) { + constructor( + private cpu: CPU, + private config: TWIConfig, + private freqHz: number, + ) { this.updateStatus(STATUS_TWI_IDLE); this.cpu.writeHooks[config.TWCR] = (value) => { this.cpu.data[config.TWCR] = value; |
