mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

Make MockInfo inherit from abstract class. #152

Closed EAGrahamJr closed 1 year ago

EAGrahamJr commented 1 year ago

Fixes #135 - the inherited LinuxBoardInfo will always try to load system info, which result in the exception message. This change basically just avoids that.

EAGrahamJr commented 1 year ago

Oh - I didn't see that you'd assigned this to yourself. Well, take this or not... :grinning: