1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-25 05:31:24 +01:00

possible flaboo fix

This commit is contained in:
travis-farmer 2024-11-24 05:23:43 -05:00
parent 755e6ab0cc
commit 56a68fd9af
No known key found for this signature in database
GPG Key ID: 0BC296791D14CB35

View File

@ -238,7 +238,7 @@ public:
void _write(VPIN vpin, int value) { void _write(VPIN vpin, int value) {
// Update current state for this device, in preparation the bus transmission // Update current state for this device, in preparation the bus transmission
uint16_t pin = vpin - _firstVpin - numCoils; uint16_t pin = vpin - _firstVpin - numDiscreteInputs;
if (pin < numCoils) { if (pin < numCoils) {
if (value) if (value)
coils[pin] = value; coils[pin] = value;