Skip to content

Commit

Permalink
fix accidentally logging send instead of receive
Browse files Browse the repository at this point in the history
  • Loading branch information
julian59189 committed Nov 17, 2021
1 parent 982950f commit 0221d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kd6rmx.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func (cis Sensor) SendCommand(cmd string, params string) (string, error) {
if _, err := f_log.WriteString(dt_string_rec + "\n"); err != nil {
log.Println(err)
}
if _, err := f_log.WriteString("received: " + write_string + "\n\n"); err != nil {
if _, err := f_log.WriteString("received: " + result + "\n\n"); err != nil {
log.Println(err)
}
}
Expand Down

0 comments on commit 0221d55

Please sign in to comment.