Commit 576a73cd authored by Matthew Gall's avatar Matthew Gall

Removed a dodgy test for running on a Raspberry Pi. Fixes #2

parent b38df3e1
......@@ -85,12 +85,6 @@ if __name__ == '__main__':
with open('/dev/gpiomem') as f:
exit(log.fatal('Running this application is only supported on a Raspberry Pi.'))
# If the above test failed, they're not running on a Raspberry Pi
robot = Robot(left=(10, 9), right=(8, 7))
sensor = DistanceSensor(18, 17)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment