Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tautils.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-01-05 21:00:54 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-01-05 21:00:54 (GMT)
commit256d24722b5e93becc629777eaa6190326c3d2d4 (patch)
treebe88fe60d1f3ca612b36feabbb485d4990eaa2c0 /TurtleArt/tautils.py
parent9263b5c8e7c4109cb2660ab77777feb3ab39d765 (diff)
add test for XO30 and adjust Motion Threshold
Diffstat (limited to 'TurtleArt/tautils.py')
-rw-r--r--TurtleArt/tautils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py
index 36ecb3c..97b396d 100644
--- a/TurtleArt/tautils.py
+++ b/TurtleArt/tautils.py
@@ -42,7 +42,7 @@ except (ImportError, AttributeError):
from StringIO import StringIO
from taconstants import COLLAPSIBLE, HIT_HIDE, HIT_SHOW, XO1, XO15, XO175, \
- UNKNOWN
+ XO30, UNKNOWN
SANDWICHES = ['sandwichtop', 'sandwichtop_no_label', 'sandwichtop_no_arm',
'sandwichtop_no_arm_no_label']
@@ -809,7 +809,7 @@ def get_hardware():
product = _get_dmi('product_name')
if product is None:
if os.path.exists('/sys/devices/platform/lis3lv02d/position'):
- return XO175 # FIXME: temporary check for XO 1.75
+ return XO175 # FIXME: temporary check for XO 1.75 and XO 3.0
elif os.path.exists('/etc/olpc-release') or \
os.path.exists('/sys/power/olpc-pm'):
return XO1