Skip to content

Commit

Permalink
Additional board revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
calcinai committed Oct 30, 2017
1 parent 5b3d430 commit e3b8cd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PHPi/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public static function create(LoopInterface $loop = null)
return new Board\V1\APlus($loop);
case 'a01040':
case 'a01041':
case '1a01041': //Is this an overvoltage bit?
case '2a01041': //and this?
case 'a21041':
case 'a22042':
return new Board\V2\B($loop);
Expand Down
1 change: 1 addition & 0 deletions src/PHPi/Peripheral/Register/AbstractRegister.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function __destruct()
}

/**
*
* This is to facilitate registers that have a way of direct (unprivileged) access, eg the /dev/gpiomem
*
* @return null
Expand Down

0 comments on commit e3b8cd2

Please sign in to comment.