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

Fixes for LinuxSerial #16

Closed enricodetoma closed 5 months ago

enricodetoma commented 6 months ago

I propose the following fixes:

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

enricodetoma commented 6 months ago

The modification for the baudrate code should be safe if one is already using B... Linux macros in existing code, because in that case the baudrate is just passed through as-is:

            default:
                speed = baudrate;
                break;