Skip to content

Commit e3b8cd2

Browse files
committed
Additional board revisions
1 parent 5b3d430 commit e3b8cd2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/PHPi/Factory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public static function create(LoopInterface $loop = null)
6666
return new Board\V1\APlus($loop);
6767
case 'a01040':
6868
case 'a01041':
69+
case '1a01041': //Is this an overvoltage bit?
70+
case '2a01041': //and this?
6971
case 'a21041':
7072
case 'a22042':
7173
return new Board\V2\B($loop);

src/PHPi/Peripheral/Register/AbstractRegister.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function __destruct()
6464
}
6565

6666
/**
67+
*
6768
* This is to facilitate registers that have a way of direct (unprivileged) access, eg the /dev/gpiomem
6869
*
6970
* @return null

0 commit comments

Comments
 (0)