Skip to content

Bug when calling noTone() before tone #326

@FAksel

Description

@FAksel

If you happen to call noTone() before ever calling tone(), the sketch hangs at line 45 of tone:
WAIT_TC16_REGS_SYNC(TCx)
because the timer has never been configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions