[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.0-2587-g38f148f
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2011-11-23 16:31:01
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 38f148fee693245b251eda8db7d6697627564a16 (commit)
from 435534e6617cbbb5ccd7c6f692204a0bbf60c28a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 38f148fee693245b251eda8db7d6697627564a16
Author: Fabien Marteau <fab...@ar...>
Date: Wed Nov 23 17:29:47 2011 +0100
[buildroot][package][as_devices] fix gpio error
-----------------------------------------------------------------------
Summary of changes:
.../packages/as_devices/python/AsDevices/AsGpio.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/packages/as_devices/python/AsDevices/AsGpio.py b/target/packages/as_devices/python/AsDevices/AsGpio.py
index 9cce37b..00c9aff 100644
--- a/target/packages/as_devices/python/AsDevices/AsGpio.py
+++ b/target/packages/as_devices/python/AsDevices/AsGpio.py
@@ -42,9 +42,9 @@ class AsGpio:
"""
def __init__(self, aGpioNum):
try:
- self.__device = wrapper.gpio_open(aPinNum)
+ self.__device = wrapper.gpio_open(aGpioNum)
except Exception, e:
- raise AsGpioError("Can't open GPIO number "+str(aGpioNum))
+ raise AsGpioError("Can't open GPIO number "+str(aGpioNum)+": "+str(e))
def __del__(self):
try:
hooks/post-receive
--
armadeus
|