device/raspistill: remove impossible condition

This commit is contained in:
Dan Kortschak 2021-07-23 12:57:22 +09:30
parent 41084e324c
commit 7a265335f4
No known key found for this signature in database
GPG Key ID: 45817BAD958E3F0C
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}