Skip to content

MicroBitBLEManager::restartInBLEMode() uses the wrong size for RebootModeValue #11

@martinwork

Description

@martinwork

On branch "code-review"...

RebootMode is deleted when it is NULL. When it's non-NULL, RebootMode leaks, though this doesn't matter much as the next line is a reset.

sizeof(RebootMode) should be sizeof(RebootModeValue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions