Simplifying code (#129)

* host: follow gosimple suggestions

* conn: follow gosimple suggestions

* devices: follow gosimple suggestions

* Update CONTRIBUTORS
pull/1/head
Matias Insaurralde 9 years ago committed by M-A
parent 9dfa0dc52f
commit 2d01ba7dbe

@ -27,5 +27,6 @@
# Please keep the list sorted.
Marc-Antoine Ruel <maruel@chromium.org> <maruel@gmail.com>
Matias Insaurralde <matias@insaurral.de>
Stephan Sperber <sperberstephan@googlemail.com>
Thorsten von Eicken <tve@voneicken.com>

@ -159,7 +159,7 @@ func (d *Dev) ReadImg() (*Frame, error) {
if err := d.readFrame(f); err != nil {
return nil, err
}
if f.Metadata.FFCDesired == true {
if f.Metadata.FFCDesired {
// TODO(maruel): Automatically trigger FFC when applicable, only do if
// the camera has a shutter.
//go d.RunFFC()

Loading…
Cancel
Save