Skip to content

Commit fad777b

Browse files
update StandardFirmataWiFi per v2.5.1 changes
1 parent 7950a8b commit fad777b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/StandardFirmataWiFi/StandardFirmataWiFi.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ void sysexCallback(byte command, byte argc, byte *argv)
583583
if (queryIndex <= 0) {
584584
queryIndex = -1;
585585
} else {
586+
queryIndexToSkip = 0;
586587
// if read continuous mode is enabled for multiple devices,
587588
// determine which device to stop reading and remove it's data from
588589
// the array, shifiting other array data to fill the space
@@ -895,7 +896,7 @@ void setup()
895896
/*
896897
* FIRMATA SETUP
897898
*/
898-
Firmata.setFirmwareVersion(FIRMATA_MAJOR_VERSION, FIRMATA_MINOR_VERSION);
899+
Firmata.setFirmwareVersion(FIRMATA_FIRMWARE_MAJOR_VERSION, FIRMATA_FIRMWARE_MINOR_VERSION);
899900

900901
Firmata.attach(ANALOG_MESSAGE, analogWriteCallback);
901902
Firmata.attach(DIGITAL_MESSAGE, digitalWriteCallback);

0 commit comments

Comments
 (0)