Skip to content

Commit 33a2e3d

Browse files
committed
Change platform name from rpi to brickpi
See @dlech's comment here: ev3dev/ev3dev-lang@ac9a629#commitcomment-13857740
1 parent af53cb4 commit 33a2e3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ev3dev.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def current_platform():
3939
if machine == 'armv5tejl':
4040
return 'ev3'
4141
elif machine == 'armv6l':
42-
return 'rpi'
42+
return 'brickpi'
4343
else:
4444
return 'unsupported'
4545

@@ -1687,8 +1687,8 @@ def Led_all_off():
16871687

16881688

16891689
#~autogen
1690-
elif current_platform() == 'rpi':
1691-
#~autogen python_led-colors platforms.rpi.led>currentClass
1690+
elif current_platform() == 'brickpi':
1691+
#~autogen python_led-colors platforms.brickpi.led>currentClass
16921692

16931693
Led.blue_one = Led(name='brickpi1:blue:ev3dev')
16941694
Led.blue_two = Led(name='brickpi2:blue:ev3dev')

0 commit comments

Comments
 (0)