bleio: Fix typo in Peripheral example code.

This commit is contained in:
Seth Itow 2019-07-27 12:58:28 -07:00 committed by GitHub
parent d99d3bd471
commit a2bab9f172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
//| //|