aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/twi.ts
diff options
context:
space:
mode:
authorUri Shaked2025-02-11 10:31:57 +0200
committerUri Shaked2025-02-11 10:31:57 +0200
commit9ce22e49cf1110d0a8c1943877dc32e6568354cc (patch)
tree6ad61569ee9a311b5ca8f330948b2136b2c04ed5 /src/peripherals/twi.ts
parentchore: replace ts-node with tsx (diff)
downloadavr8js-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.ts6
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;