Merge pull request #261 from fcsha/fix/issue-260-msd-endpoint-budget

fix: 关闭 MSD 后保存 HID 配置时端点预算校验误判超限
This commit is contained in:
SilentWind
2026-05-19 09:58:03 +08:00
committed by GitHub

View File

@@ -1182,10 +1182,10 @@ async function saveConfig() {
hidUpdate.otg_functions = { ...config.value.hid_otg_functions } hidUpdate.otg_functions = { ...config.value.hid_otg_functions }
hidUpdate.otg_keyboard_leds = config.value.hid_otg_keyboard_leds hidUpdate.otg_keyboard_leds = config.value.hid_otg_keyboard_leds
} }
await configStore.updateHid(hidUpdate)
await configStore.updateMsd({ await configStore.updateMsd({
enabled: config.value.msd_enabled, enabled: config.value.msd_enabled,
}) })
await configStore.updateHid(hidUpdate)
} }
if (activeSection.value === 'msd') { if (activeSection.value === 'msd') {