Monorepo for Aesthetic.Computer aesthetic.computer

fix: re-enable wifi, reduce scan from 2s to 30s interval

notepat.mjs was calling wifi.scan() every 120 frames (2s) which
triggered iw scan causing 65ms+ frame drops. Reduced to every
1800 frames (30s). WiFi re-enabled in C init.

Default passwords: aesthetic.computer (hardcoded in notepat.mjs),
additional creds loaded from /mnt/wifi_creds.json on boot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -5
+3 -2
fedac/native/pieces/notepat.mjs
··· 1778 1778 } 1779 1779 1780 1780 if (autoConnectEnabled && isIdle) { 1781 - // Trigger scan every ~2s (120 frames), immediate on first frame 1782 - if (autoConnectFrame <= 1 || autoConnectFrame % 120 === 0) { 1781 + // Trigger scan every ~30s (1800 frames) — iw scan causes 65ms+ frame 1782 + // drops so keep it infrequent. Immediate on first frame only. 1783 + if (autoConnectFrame <= 1 || autoConnectFrame % 1800 === 0) { 1783 1784 wifi.scan?.(); 1784 1785 } 1785 1786 // 60 frames (~1s) after scan: pick strongest known network from scan results
+3 -3
fedac/native/src/ac-native.c
··· 2286 2286 if (!wifi_disabled) { 2287 2287 if (!headless && display) 2288 2288 draw_boot_status(&graph, screen, display, "starting wifi...", pixel_scale); 2289 - // WiFi disabled — notepat.mjs scans every 2s which causes 65ms+ 2290 - // frame drops from iw scan. Re-enable once scan is non-blocking. 2291 - wifi = NULL; 2289 + wifi = wifi_init(); 2290 + // Don't autoconnect from C — notepat.mjs handles scanning 2291 + // at 30s intervals (reduced from 2s to avoid 65ms frame drops). 2292 2292 } else { 2293 2293 if (!headless && display) 2294 2294 draw_boot_status(&graph, screen, display, "wifi disabled", pixel_scale);