Fixed typos, added pinmap example to dump map

This commit is contained in:
noccy committed 2014-06-13 00:02:39 +00:00
1 parent 755552a9a6
commit 17dd85f828
3 files changed
+30 -4

No files matched your search

+2 -1
View File
@@ -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");
}
}