From 9ce22e49cf1110d0a8c1943877dc32e6568354cc Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 11 Feb 2025 10:31:57 +0200 Subject: chore(deps): upgrade prettier reformat all code with the new prettier version --- src/peripherals/adc.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/peripherals/adc.ts') diff --git a/src/peripherals/adc.ts b/src/peripherals/adc.ts index 1e0e2d1..16ccdba 100644 --- a/src/peripherals/adc.ts +++ b/src/peripherals/adc.ts @@ -163,7 +163,10 @@ export class AVRADC { enableMask: ADIE, }; - constructor(private cpu: CPU, private config: ADCConfig) { + constructor( + private cpu: CPU, + private config: ADCConfig, + ) { cpu.writeHooks[config.ADCSRA] = (value, oldValue) => { if (value & ADEN && !(oldValue && ADEN)) { this.conversionCycles = 25; -- cgit v1.2.3