From f877fdddb1bf8c611335423fa63f0bfec993696c Mon Sep 17 00:00:00 2001 From: "Rich O." Date: Mon, 2 Nov 2026 10:14:12 -0500 Subject: [PATCH] palm-client: don't restore the Slot link at launch (empty slot bus error reset the Visor on every launch) --- palm-client/src/app.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/palm-client/src/app.c b/palm-client/src/app.c index bd5eee8..8e18c40 100644 --- a/palm-client/src/app.c +++ b/palm-client/src/app.c @@ -27,7 +27,13 @@ void AppLoadPrefs(void) if (PrefGetAppPreferences(VM_CREATOR, VM_PREFS_ID, &prefs, &size, true) != noPreferenceFound && size == sizeof(prefs) && prefs.version == VM_PREFS_VERSION) { - TransportSetPort(prefs.port); + /* + * Slot isn't restored: with no module in the slot, the first bus read + * at csSlot0 is a bus error and resets the Visor, and the Home form + * auto-connects at launch, so a saved Slot made every launch reset. + */ + if (prefs.port != VM_PORT_SBLORA) + TransportSetPort(prefs.port); SessionSetUtcOffset(prefs.utcOffset); return; }