Bugfixed gpio, improved bitmap example script
This commit is contained in:
1 parent
477ea2605d
commit
755552a9a6
2 files changed
+9
-3
No files matched your search
+3
-1
@@ -76,7 +76,9 @@ class GpioPin
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
fclose($this->fd);
|
||||
if ($this->fd) {
|
||||
fclose($this->fd);
|
||||
}
|
||||
}
|
||||
|
||||
public function setDirection($direction)
|
||||
|
||||
Reference in new issue
Block a user