Skip to content

Commit

Permalink
More info for RaspberryPi3Driver (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
krwq authored Dec 10, 2023
1 parent f6c0ed0 commit 8881cbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public RaspberryPi3Driver()

if (_linuxDriver == null)
{
throw new PlatformNotSupportedException($"Not a supported Raspberry Pi type: " + boardInfo.BoardModel);
throw new PlatformNotSupportedException($"Not a supported Raspberry Pi type: {boardInfo.BoardModel} (0x{((int)boardInfo.BoardModel):X4})");
}

_setSetRegister = (value) => _linuxDriver.SetRegister = value;
Expand Down

0 comments on commit 8881cbc

Please sign in to comment.