mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
misc: set gps module default baud rate to 4800bps
This commit is contained in:
parent
936e0f740a
commit
29bf0d94f1
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ func NewGPS(s *session.Session) *GPS {
|
||||||
mod := &GPS{
|
mod := &GPS{
|
||||||
SessionModule: session.NewSessionModule("gps", s),
|
SessionModule: session.NewSessionModule("gps", s),
|
||||||
serialPort: "/dev/ttyUSB0",
|
serialPort: "/dev/ttyUSB0",
|
||||||
baudRate: 19200,
|
baudRate: 4800,
|
||||||
}
|
}
|
||||||
|
|
||||||
mod.AddParam(session.NewStringParameter("gps.device",
|
mod.AddParam(session.NewStringParameter("gps.device",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue