- fix RPI crash when changing state of output pin

(reason: DetectAnyEdge() was also configured for output pins)
- version string has now also build date
- updated golang dependencies
This commit is contained in:
2023-01-08 11:09:25 +01:00
parent 735087eb17
commit a450f3162b
7 changed files with 62 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ func (p *PinControlService) Command(pinName string, command PinCommand) error {
func (p *PinControlService) Start() {
if err := HardwarePinOpen(); err != nil {
log.Fatal(err)
panic(err)
log.Exit(1)
}
for _, v := range p.Pins {