Fix w1-therm log messages
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Søren Rasmussen 2024-06-15 23:19:19 +02:00
parent 4ef93fb6cf
commit deb2845063

View file

@ -36,9 +36,9 @@ func logic() error {
dev := "w1_bus_master1"
target, err := checkOneWireInterface(dev)
if err != nil {
log.Printf("Bluetooth interface %v not found.", target)
log.Printf("OneWire interface %v not found.", target)
} else {
fmt.Printf("Bluetooth device %v: %v\n", dev, target)
fmt.Printf("OneWire device %v: %v\n", dev, target)
}
// gokrazy should not supervise this process even when manually started.