Fixed typos, added pinmap example to dump map
This commit is contained in:
1 parent
755552a9a6
commit
17dd85f828
3 files changed
+30
-4
No files matched your search
@@ -20,6 +20,7 @@
|
||||
namespace NoccyLabs\Gpio\GpioMapper;
|
||||
|
||||
use NoccyLabs\Gpio\GpioMapperInterface;
|
||||
use NoccyLabs\Gpio\Exception\GpioException;
|
||||
|
||||
class WiringPiMapper implements GpioMapperInterface
|
||||
{
|
||||
@@ -107,7 +108,7 @@ class WiringPiMapper implements GpioMapperInterface
|
||||
case 19: return 30;
|
||||
case 20: return 31;
|
||||
}
|
||||
throw new GpioException("Unable to map logicak {$logical} to GPIO pin");
|
||||
throw new GpioException("Unable to map logical pin {$logical} to GPIO pin");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user