This commit is contained in:
Morten Nielsen 2021-02-15 22:37:42 -08:00 committed by GitHub
parent 078d8fded0
commit 40f2bdc4a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ You can get the library via [NuGet](http://www.nuget.org) if you have the extens
device.OpenAsync();
// Create event handler for receiving messages:
private void device_NmeaMessageReceived(NmeaDevice sender, NmeaMessageReceivedEventArgs args)
private void device_NmeaMessageReceived(object sender, NmeaMessageReceivedEventArgs args)
{
// called when a message is received
if(args.Message is NmeaParser.Messages.Rmc rmc)