mirror of https://bitbucket.org/ausocean/av.git
make inputs configurable for revidCLI
This commit is contained in:
parent
d741e39346
commit
4fdcaa6d0a
|
@ -274,7 +274,8 @@ func periodicNetsenderReport(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inputs := []string{"X20", "X21"}
|
//inputs := []string{"X20", "X21"}
|
||||||
|
inputs := netsender.GetConfigParam("inputs")
|
||||||
if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil {
|
if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil {
|
||||||
config.Logger.Log("Error", err.Error())
|
config.Logger.Log("Error", err.Error())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue