mikaelnousiainen / RS41ng

Custom firmware for Vaisala RS41 and Graw DFM-17 radiosondes with support for amateur radio use. Ideal for tracking high-altitude balloons. Supported modes include APRS, Horus 4FSK mode, CATS, morse code (CW) and additional digital modes like WSPR and FT8 via Si5351.
GNU General Public License v2.0
109 stars 28 forks source link

Copy in strlcpy from libbsd #37

Closed argilo closed 10 months ago

argilo commented 1 year ago

While building on Ubuntu, I ran into several undefined reference to strlcpy errors. (The readme mentions that this might occur.)

Since RS41ng uses only a single function from libbsd, I think it would make sense to just pull in a copy of that function and avoid having a dependency on libbsd. I've done that here, and the project now builds without issue on Ubuntu.

mikaelnousiainen commented 1 year ago

@argilo Thanks for the contribution. I will test this in the coming days and merge (considering it works).