mirror of https://bitbucket.org/ausocean/av.git
device/raspistill: remove impossible condition
This commit is contained in:
parent
41084e324c
commit
7a265335f4
|
@ -104,7 +104,7 @@ func (r *Raspistill) Name() string { return "Raspistill" }
|
|||
func (r *Raspistill) Set(c config.Config) error {
|
||||
var errs device.MultiError
|
||||
|
||||
if c.Rotation > 359 || c.Rotation < 0 {
|
||||
if c.Rotation > 359 {
|
||||
c.Rotation = defaultRotation
|
||||
errs = append(errs, errBadRotation)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue