Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

BlinkyHeadless documentation is unnecessarily using async modifier #832

Closed
nshenoy opened this issue Mar 13, 2016 · 0 comments
Closed

BlinkyHeadless documentation is unnecessarily using async modifier #832

nshenoy opened this issue Mar 13, 2016 · 0 comments

Comments

@nshenoy
Copy link
Contributor

nshenoy commented Mar 13, 2016

In the *Initialize the GPIO pin" section of the BlinkyHeadless.md documentation, it declares the method as private async void InitGPIO(). I think the original author may have intended to use await GpioController.GetDefaultAsync() in the sample instead of calling the synchronous GpioController.GetDefault(). That would complicate the sample for beginners though. I think the docs should match the sample code in the repo and simply remove the async modifier.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant