From e85c20a61fcd0ef00dffbaa04c01e57b5467b426 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 18 Dec 2014 15:17:48 +0000 Subject: [PATCH] Fix broken indent Only added 3 spaces instead of 4 for indent on line 37 - fixed here. --- Hover_library.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Hover_library.py b/Hover_library.py index 20a0bd4..6898626 100644 --- a/Hover_library.py +++ b/Hover_library.py @@ -31,11 +31,10 @@ import RPi.GPIO as GPIO # Check for RPi Revision and decide I2C bus -if GPIO.RPI_REVISION == 1: +if GPIO.RPI_REVISION == 1: bus = smbus.SMBus(0) else: - bus = smbus.SMBus(1) - + bus = smbus.SMBus(1) dict = {'00100010':'Right Swipe', '00100100':'Left Swipe', '00101000':'Up Swipe', '00110000':'Down Swipe', '01001000':'East Tap', '01000001':'South Tap', '01000010':'West Tap', '01000100':'North Tap', '01010000':'Center Tap'}