Skip to content

Commit e5860f8

Browse files
authored
Merge pull request #2017 from sethitow/fix-example-typo
bleio: Fix typo in Peripheral example code.
2 parents 8eab946 + a2bab9f commit e5860f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/bleio/Peripheral.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static const char default_name[] = "CIRCUITPY";
7272
//| serv = bleio.Service(bleio.UUID(0x180f), [chara])
7373
//|
7474
//| # Create a peripheral and start it up.
75-
//| periph = bleio.Peripheral([service])
75+
//| periph = bleio.Peripheral([serv])
7676
//| adv = ServerAdvertisement(periph)
7777
//| periph.start_advertising(adv.advertising_data_bytes, adv.scan_response_bytes)
7878
//|

0 commit comments

Comments
 (0)