Skip to content

Console error reported for serial_redirect #6622

@martinwork

Description

@martinwork

Describe the bug

In a new project, the first opening of the Serial toolbox panel triggers a browser console error

I think this may be because the rate parameter description "e.g." is picked up as a default value

* @param rate the new baud rate. eg: 115200

* @param rate the new baud rate. eg: 115200

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://makecode.microbit.org/
  2. Create a new project and open the browser console
  3. Open the Serial toolbox panel
  4. See error

Expected behavior
A correct default value is specified

Screenshots

Image

micro:bit version (please complete the following information):
not hardware related

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions