Merge pull request #2017 from sethitow/fix-example-typo

bleio: Fix typo in Peripheral example code.
This commit is contained in:
Dan Halbert 2019-07-29 16:15:57 -04:00 committed by GitHub
commit e5860f83bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static const char default_name[] = "CIRCUITPY";
//| serv = bleio.Service(bleio.UUID(0x180f), [chara])
//|
//| # Create a peripheral and start it up.
//| periph = bleio.Peripheral([service])
//| periph = bleio.Peripheral([serv])
//| adv = ServerAdvertisement(periph)
//| periph.start_advertising(adv.advertising_data_bytes, adv.scan_response_bytes)
//|