diff --git a/internal/PinControlService/Pin.go b/internal/PinControlService/Pin.go index 740b478..e2096ed 100644 --- a/internal/PinControlService/Pin.go +++ b/internal/PinControlService/Pin.go @@ -77,7 +77,7 @@ func (p *Pin) Configure() { log.Infof("configuring pin %s (pin no: %d) as Output", p.Name, p.Id) p.PinHandle.Output() if p.InitialState != nil { - log.Infof("set initial state \"%s\" for pin %s (pin no: %d)", p.InitialState, p.Name, p.Id) + log.Infof("set initial state \"%s\" for pin %s (pin no: %d)", *p.InitialState, p.Name, p.Id) _ = p.Command(*p.InitialState) }