From 0be124b3f2b79fb778a14369bb9147f2fb730669 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Fri, 4 Sep 2026 22:15:14 -0500 Subject: [PATCH] fix(odrive web): empty-filter fallback + accurate VID-only wording #771 was merged with only the initial VID-filter fix; two later review rounds never reached main. This carries them over so the odrive consoles match the other espp web consoles: - requestUsbDevice(): the "show all devices" path uses one empty filter {} and falls back to a VID-only filter if a WebUSB implementation rejects the empty filter (the shared helper now used by every espp WebUSB console). - reword the comments, the "Any device" tooltip, and the status lines to the actual filter semantics ("any device with VID 0x1209", not "ODrive VID/PID"), and zero-pad the VID hex. Affects odrive_webusb_console.html and odrive_control_panel.html only. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../web/odrive_control_panel.html | 29 +++++++++------ .../web/odrive_webusb_console.html | 36 ++++++++++++------- 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/components/odrive_ascii/web/odrive_control_panel.html b/components/odrive_ascii/web/odrive_control_panel.html index 4afdd6437..6e468b463 100644 --- a/components/odrive_ascii/web/odrive_control_panel.html +++ b/components/odrive_ascii/web/odrive_control_panel.html @@ -291,7 +291,7 @@

ODrive Native — WebUSB Control Panel

-