Skip to content

Commit a2bab9f

Browse files
authored
bleio: Fix typo in Peripheral example code.
1 parent d99d3bd commit a2bab9f

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)