From 053d17dd565a96bb9dcbbac362bb38ab1796cca2 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 25 Apr 2025 09:50:04 +0100 Subject: [PATCH] fix lint errors --- apps/warpdrive/app.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/warpdrive/app.js b/apps/warpdrive/app.js index 0dc7ef3b7..59a610003 100644 --- a/apps/warpdrive/app.js +++ b/apps/warpdrive/app.js @@ -488,7 +488,6 @@ const sintable = new Uint8Array(256); const translation = new Uint32Array(10); let bgColor = 0; const BLACK = g.setColor.bind(g, 0); -const WHITE = g.setColor.bind(g, 0xFFFF); let lcdBuffer = 0; let locked = false; let charging = false; @@ -509,16 +508,6 @@ function setupInterval(force) { } } -function test(addr, y) { - BLACK().fillRect(0, y, 176, y); - if (peek8(addr)) return false; - WHITE().fillRect(0, y, 176, y); - let b = peek8(addr); - BLACK().fillRect(0, y, 176, y); - if (!b) return false; - return !peek8(addr); -} - function init() { bgColor = g.theme.bg & 0x8410; bgColor = ((bgColor >> 15) | (bgColor >> 9) | (bgColor >> 2));