comments: var block + interface-less error

This commit is contained in:
Clyde Bazile
2023-04-24 10:51:43 -04:00
committed by Clyde Bazile
parent 8568b1b20d
commit 2372f55064
4 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ func (c *camera) Properties() []prop.Media {
return properties
}
func (c *camera) IsAvailable() (bool, availability.Error) {
func (c *camera) IsAvailable() (bool, error) {
var err error
// close the opened file descriptor as quickly as possible and in all cases, including panics