Skip to content

m0 debugger processes every 2nd input #345

@Joseph-Jacobson

Description

@Joseph-Jacobson

Describe the bug
When I am in debug mode on the following blePrototype-example I have to put in two characters for the emotibit to process the commands. Both characters get processed, and they do not have to be in the same line, so they can be two seperate lines of single char commands and it processes both after receiving the second.

Note: when reverting to the current firmware version I noticed that there was a previous bug on the debugger where we wouldn't be able to send in debug commands due to a seperate bug that has since been fixed.

Expected behavior
Expected behavior would be each command running after each char, no buffering.
Additional details

  • EmotiBit software version:
  • EmotiBit firmware version: 1.14.3
  • EmotiBit hardware version:
  • OS version:

To Reproduce
Steps to reproduce the behavior:

  1. Pull the following bluetooth branches:
    Featherwing: https://github.com/EmotiBit/EmotiBit_FeatherWing/tree/feat-blePrototype-Example
    Xplat (recently merged): https://github.com/EmotiBit/EmotiBit_XPlat_Utils

  2. Upload firmware to m0

  3. Enter debug mode

  4. Enter any debug commands as per normally, and notice how it only processes them on the second input
    Screenshots
    If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions