Add Android build

This commit is contained in:
Milan Nikolic
2017-10-04 03:17:00 +02:00
parent 2ad5743f5f
commit f0e85361bc
3 changed files with 17 additions and 5 deletions

View File

@@ -96,6 +96,7 @@ func (c *Camera) SetProperty(id int, value float64) int {
func (c *Camera) Close() (err error) {
if c.camera == nil {
err = fmt.Errorf("camera: camera is not opened")
return
}
c.camera.Release()