mirror of https://bitbucket.org/ausocean/av.git
Ignore unexpected global vars.
This commit is contained in:
parent
2bb8765254
commit
515e63802a
|
@ -36,7 +36,6 @@ import (
|
|||
"runtime/pprof"
|
||||
"strconv"
|
||||
"time"
|
||||
"unicode"
|
||||
|
||||
"bitbucket.org/ausocean/av/revid"
|
||||
"bitbucket.org/ausocean/iot/pi/netsender"
|
||||
|
@ -482,9 +481,6 @@ func updateRevid(ns *netsender.Sender, vars map[string]string, stop bool) error
|
|||
rv.Log(revid.Warning, "Invalid VerticalFlip param: "+value)
|
||||
}
|
||||
default:
|
||||
if unicode.IsUpper(rune(key[0])) {
|
||||
rv.Log(revid.Warning, "Unexpected param: "+key)
|
||||
} // else system params are lower case
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue