fix: type conversion
This commit is contained in:
@@ -95,7 +95,7 @@ func (p ArcherAx50) SwitchWIFI(cfg provider.SwitchConfig) error {
|
||||
saveButton.MustClick()
|
||||
log.Println(p.saveButtonID, "DONE")
|
||||
|
||||
time.Sleep(time.Millisecond * cfg.SubmitDelay)
|
||||
time.Sleep(time.Millisecond * time.Duration(cfg.SubmitDelay))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user