From dc549999dfc1a382a442cd0143df8774003b7dd7 Mon Sep 17 00:00:00 2001 From: Denis Demidov Date: Tue, 10 Nov 2015 19:08:25 +0300 Subject: [PATCH] Rename EV3 leds after the latest kernel update See http://www.ev3dev.org/news/2015/11/09/Kernel-Release-Cycle-8/ --- ev3dev/ev3.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ev3dev/ev3.py b/ev3dev/ev3.py index 0c4d86b..7beffdd 100644 --- a/ev3dev/ev3.py +++ b/ev3dev/ev3.py @@ -47,10 +47,10 @@ class Leds(object): # ~autogen led-colors platforms.ev3.led>currentClass - red_left = Led(name='ev3-left0:red:ev3dev') - red_right = Led(name='ev3-right0:red:ev3dev') - green_left = Led(name='ev3-left1:green:ev3dev') - green_right = Led(name='ev3-right1:green:ev3dev') + red_left = Led(name='ev3:left:red:ev3dev') + red_right = Led(name='ev3:right:red:ev3dev') + green_left = Led(name='ev3:left:green:ev3dev') + green_right = Led(name='ev3:right:green:ev3dev') LEFT = ( red_left, green_left, ) RIGHT = ( red_right, green_right, )