Skip to content

Commit dc7e2b5

Browse files
committed
fix typo in reportDigital
1 parent 7291abb commit dc7e2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/DigitalInputFirmata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void DigitalInputFirmata::reportDigital(byte port, int value)
7676
{
7777
if (port < TOTAL_PORTS) {
7878
reportPINs[port] = (byte)value;
79-
if (value) outputPort(15, readPort(port, portConfigInputs[port]), true);
79+
if (value) outputPort(port, readPort(port, portConfigInputs[port]), true);
8080
}
8181
// do not disable analog reporting on these 8 pins, to allow some
8282
// pins used for digital, others analog. Instead, allow both types

0 commit comments

Comments
 (0)