Abdellazizhammami / arduino

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

misleading / wrong comment in cpp file #786

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:22

GoogleCodeExporter commented 8 years ago
fixed in next 1.5.x release

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