Skip to content

Commit

Permalink
Fix a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Jul 11, 2024
1 parent 6df4dc4 commit 93c1461
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,10 @@ protected internal override void Write(int pinNumber, PinValue value)
public override ComponentInformation QueryComponentInformation()
{
var ret = new ComponentInformation(this, "Libgpiod Wrapper driver");
#pragma warning disable SDGPIO0001
ret.Properties.Add("Version", Version.ToString());
ret.AddSubComponent(GetDriver().QueryComponentInformation());
#pragma warning restore SDGPIO0001
return ret;
}

Expand Down

0 comments on commit 93c1461

Please sign in to comment.