Skip to content

currentValue is not reset on failed transmission #11

@abextm

Description

@abextm

If sendAll() fails, currentValue is not reset, causing a message to be sent over serial:

     You are sending more than 5 consecutives variables, you just could send 5 variables. Then other variables will be deleted!

Additionally there is an off-by-one error in add(char*,float). currentValue should be in the range [0,MAX_VALUES) but it is instead checked as [0,MAX_VALUES]

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