Closed SpComb closed 7 years ago
Currently the GPIO driver defaults the statusGreen to low, and sets it high if it find any existing tally pin state: https://github.com/qmsk/e2/blob/v0.4.1/gpio/gpio.go#L134
statusGreen
However, this means that the green status pin remains low if the GPIO driver is only used for the red/green status pins, without any tally pins.
The GPIO driver should use the tally:State.Sources[...].Connected states to determine the status instead.
tally:State.Sources[...].Connected
Depends on #16 to correctly set that status flag.
Fixed by #18
Currently the GPIO driver defaults the
statusGreen
to low, and sets it high if it find any existing tally pin state: https://github.com/qmsk/e2/blob/v0.4.1/gpio/gpio.go#L134However, this means that the green status pin remains low if the GPIO driver is only used for the red/green status pins, without any tally pins.
The GPIO driver should use the
tally:State.Sources[...].Connected
states to determine the status instead.Depends on #16 to correctly set that status flag.