Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

misleading / wrong commend in cpp file #785

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 ?

Original issue reported on code.google.com by seb.ha...@gmail.com on 11 Jan 2012 at 8:21

GoogleCodeExporter commented 8 years ago
please delete --- typo in subject line

Original comment by seb.ha...@gmail.com on 11 Jan 2012 at 8:23

GoogleCodeExporter commented 8 years ago

Original comment by federico...@gmail.com on 10 Jan 2013 at 2:48