From a3277d0cfc515b604841dbe6dc63a3e8a1b2274e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 14 Jul 2018 02:17:53 +0200 Subject: [PATCH] Fix: Write init after reset Signed-off-by: Knut Ahlers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bc42a4c..70f922f 100644 --- a/main.go +++ b/main.go @@ -63,10 +63,10 @@ func main() { // Send initialization for the CUL // TODO: This might be useful to be configurable? - fmt.Fprintln(port, "X21") // Turn on echoing of received messages fmt.Fprintln(port, "Ax") // reset AskSin fmt.Fprintln(port, "Zx") // reset Moritz fmt.Fprintln(port, "brx") // reset WMBus + fmt.Fprintln(port, "X21") // Turn on echoing of received messages for { scanner := bufio.NewScanner(port)