diff --git a/platforms/firmata/firmata_adaptor.go b/platforms/firmata/firmata_adaptor.go index 113a83b6c..db14e3d0c 100644 --- a/platforms/firmata/firmata_adaptor.go +++ b/platforms/firmata/firmata_adaptor.go @@ -66,6 +66,7 @@ func (f *FirmataAdaptor) Connect() (errs []error) { if err := f.connect(f); err != nil { return []error{err} } + f.board.connect() f.SetConnected(true) return } diff --git a/platforms/opencv/camera_driver.go b/platforms/opencv/camera_driver.go index f07aeb4a2..2b8e2f947 100644 --- a/platforms/opencv/camera_driver.go +++ b/platforms/opencv/camera_driver.go @@ -61,7 +61,7 @@ func (c *CameraDriver) Start() (errs []error) { <-time.After(c.Interval()) } }() - return true + return } // Halt stops camera driver