meshtastic / framework-portduino

An Arduino API that sits on top of Linux and other operating systems. This lets you run Arduino code on Raspberry PI, desktops, etc... All as a standard user-space application.
GNU Lesser General Public License v2.1
30 stars 13 forks source link

Update LinuxGPIOPin.cpp to use filesystem chip name #7

Closed jp-bennett closed 10 months ago

jp-bennett commented 10 months ago

I'm unaware of any reason to use the internal GPIOchip name. Using the filesystem name, E.G. gpiochip0 makes the code actually work, and simplifies it quite a bit.