You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
In the *Initialize the GPIO pin" section of the
BlinkyHeadless.md
documentation, it declares the method asprivate async void InitGPIO()
. I think the original author may have intended to useawait GpioController.GetDefaultAsync()
in the sample instead of calling the synchronousGpioController.GetDefault()
. That would complicate the sample for beginners though. I think the docs should match the sample code in the repo and simply remove theasync
modifier.The text was updated successfully, but these errors were encountered: