Skip to content

Commit 60b754e

Browse files
committed
rename B_x to BUTTON_x
1 parent 652d736 commit 60b754e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_bluefruit_connect/button_packet.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
class ButtonPacket(Packet):
3838
"""A packet containing a button name and its state."""
3939

40-
B_1 = '1'
40+
BUTTON_1 = '1'
4141
"""Code for Button 1 on the Bluefruit LE Connect app Control Pad screen."""
42-
B_2 = '2'
42+
BUTTON_2 = '2'
4343
"""Button 2."""
44-
B_3 = '3'
44+
BUTTON_3 = '3'
4545
"""Button 3."""
46-
B_4 = '4'
47-
"""Button 4"""
46+
BUTTON_4 = '4'
47+
"""Button 4."""
4848
#pylint: disable= invalid-name
4949
UP = '5'
5050
"""Up Button."""

0 commit comments

Comments
 (0)