Add: power on with context, SIM808 support
This commit is contained in:
@ -39,7 +39,7 @@ func secondCountDownTimer(title string, logger *log.Logger, t time.Duration) {
|
||||
if counter > int(t.Seconds()) {
|
||||
break
|
||||
}
|
||||
logger.Printf("%s: %d/%f\n", title, counter, t.Seconds())
|
||||
// logger.Printf("%s: %d/%f\n", title, counter, t.Seconds())
|
||||
time.Sleep(time.Second)
|
||||
counter += 1
|
||||
}
|
||||
@ -118,7 +118,7 @@ func (g *gps) collectNmeaReports(flags nmeaFlags) ([]string, error) {
|
||||
}
|
||||
|
||||
// DEBUG
|
||||
// g.logger.Println("NMEA raw collect:", resp)
|
||||
g.logger.Println("NMEA raw collect:", resp)
|
||||
|
||||
// Right responce struct:
|
||||
// \r\n
|
||||
|
Reference in New Issue
Block a user