Skip to content

Conversation

@imguoguo
Copy link
Member

Custom baud rates only take effect the second time they are set, and will not be used when the page is first loaded.

Custom baud rates only take effect the second time they are set, and will not be used when the page is first loaded.
setMsg('')

const success = await window.electron.ipcRenderer.invoke(IpcEvents.OPEN_SERIAL_PORT, port, baudRate)
const rate = customBaudRate ?? baudRate
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要排除 customBaudRate 为0的情况

@imguoguo imguoguo requested a review from wj-xiao December 16, 2025 07:36
@wj-xiao wj-xiao merged commit 9750fe2 into sipeed:main Dec 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants