Skip to content

misleading / wrong commend in cpp file [imported] #785

Closed
@cmaglie

Description

@cmaglie

This is Issue 785 moved from a Google Code project.
Added by 2012-01-11T08:21:33.000Z by seb.ha...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

in function
void FirmataClass::processInput(void)
there is this code:
case SET_PIN_MODE:
waitForData = 2; // two data bytes needed
executeMultiByteCommand = command;
break;
case REPORT_ANALOG:
case REPORT_DIGITAL:
waitForData = 1; // two data bytes needed
executeMultiByteCommand = command;
break;

I suppose the second comment should read:
// one data byte needed

right ?

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