aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/cpu.ts
diff options
context:
space:
mode:
authorUri Shaked2026-02-14 19:25:24 +0200
committerUri Shaked2026-02-14 19:25:24 +0200
commit69589b07e47219b7673dc9919fb6fa3fcd0c4d54 (patch)
tree50d34ab39b382c50695682ddd3ea5bfc7043ea8e /src/cpu/cpu.ts
parentchore: update all devDependencies (diff)
downloadavr8js-69589b07e47219b7673dc9919fb6fa3fcd0c4d54.tar.gz
avr8js-69589b07e47219b7673dc9919fb6fa3fcd0c4d54.tar.bz2
avr8js-69589b07e47219b7673dc9919fb6fa3fcd0c4d54.zip
style: organize imports
Also remove unused eslint-disable directives
Diffstat (limited to 'src/cpu/cpu.ts')
-rw-r--r--src/cpu/cpu.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/cpu.ts b/src/cpu/cpu.ts
index 62ff40a..4065b0a 100644
--- a/src/cpu/cpu.ts
+++ b/src/cpu/cpu.ts
@@ -9,7 +9,7 @@
*/
import { AVRIOPort } from '../peripherals/gpio';
-import { u32, u16, u8, i16 } from '../types';
+import { i16, u16, u32, u8 } from '../types';
import { avrInterrupt } from './interrupt';
const registerSpace = 0x100;
@@ -262,7 +262,6 @@ export class CPU {
const { nextInterrupt } = this;
if (this.interruptsEnabled && nextInterrupt >= 0) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const interrupt = this.pendingInterrupts[nextInterrupt]!;
avrInterrupt(this, interrupt.address);
if (!interrupt.constant) {