Skip to content

Commit

Permalink
fix serial example
Browse files Browse the repository at this point in the history
  • Loading branch information
amyasnikov committed Feb 25, 2021
1 parent e00f863 commit 90333af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/serial/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
device = flag.String("d", "/dev/ttyUSB0", "path of serial port device")
ro = flag.Bool("ro", false, "read-only mode")
retryCount = flag.Int("retry-count", 1, "retry count for sending packets")
sysID = flag.Int("sysID", 1, "System ID (copter)")
sysID = flag.Int("sysID", 1, "System ID (control station)")
)

func main() {
Expand Down

0 comments on commit 90333af

Please sign in to comment.