Skip to content

Commit 8b22020

Browse files
emulatorchenVictor Chen
andauthored
lirc requries linebreak \n for SEND_ONCE (#57)
Co-authored-by: Victor Chen <vc@discoverelement.com>
1 parent e271f7c commit 8b22020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lirc/lirc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (c *Conn) Close() error {
6464
// Emit implements ir.IR.
6565
func (c *Conn) Emit(remote string, key ir.Key) error {
6666
// http://www.lirc.org/html/lircd.html#lbAH
67-
_, err := fmt.Fprintf(c.w, "SEND_ONCE %s %s", remote, key)
67+
_, err := fmt.Fprintf(c.w, "SEND_ONCE %s %s\n", remote, key)
6868
return err
6969
}
7070

0 commit comments

Comments
 (0)