We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641e25c commit 7e8d21bCopy full SHA for 7e8d21b
utility/AnalogInputFirmata.cpp
@@ -46,7 +46,7 @@ void AnalogInputFirmata::reportAnalog(byte analogPin, int value)
46
analogInputsToReport = analogInputsToReport | (1 << analogPin);
47
// prevent during system reset or all analog pin values will be reported
48
// which may report noise for unconnected analog pins
49
- if (Firmata.isResetting()) {
+ if (!Firmata.isResetting()) {
50
// Send pin value immediately. This is helpful when connected via
51
// ethernet, wi-fi or bluetooth so pin states can be known upon
52
// reconnecting.
0 commit comments