bleio: Fix typo in Peripheral example code.
This commit is contained in:
parent
d99d3bd471
commit
a2bab9f172
@ -72,7 +72,7 @@ static const char default_name[] = "CIRCUITPY";
|
|||||||
//| serv = bleio.Service(bleio.UUID(0x180f), [chara])
|
//| serv = bleio.Service(bleio.UUID(0x180f), [chara])
|
||||||
//|
|
//|
|
||||||
//| # Create a peripheral and start it up.
|
//| # Create a peripheral and start it up.
|
||||||
//| periph = bleio.Peripheral([service])
|
//| periph = bleio.Peripheral([serv])
|
||||||
//| adv = ServerAdvertisement(periph)
|
//| adv = ServerAdvertisement(periph)
|
||||||
//| periph.start_advertising(adv.advertising_data_bytes, adv.scan_response_bytes)
|
//| periph.start_advertising(adv.advertising_data_bytes, adv.scan_response_bytes)
|
||||||
//|
|
//|
|
||||||
|
Loading…
Reference in New Issue
Block a user