materdaddy / vastfmt Goto Github PK
View Code? Open in Web Editor NEWCLI application for VAST Electronics V-FMT212R USB FM Transmitter
CLI application for VAST Electronics V-FMT212R USB FM Transmitter
Currently the code sends all supported settings to the VastFMT even if they weren't specified on the command line using hard-coded defaults. This causes problems if you're using something other than default values and are only attempting to change one thing.
For example, the use of this code in FPP's plugin only attempts to change the RDS text, yet because of this bug the VastFMT is configured to the lowest power output, 87.9, and many other hard coded settings.
If somebody were using this code directly, they can simply specify all values on the command line as they wish, but this is unexpected and I don't plan on supporting frequency and other things in the FPP plugin so we should only send data to the VastFMT that the user specified on the command line.
Hello, I get:
$make
g++ bitstream.o fmtx.o hid-libusb.o logging.o commands.o radio.o -lusb-1.0 -lm -o radio
/usr/bin/ld: hid-libusb.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:45: recipe for target 'radio' failed
make: *** [radio] Error 1
already tried it with
FLAGS = -L /lib64
LIBS = -lusb-1.0 -lpthread
CFLAGS = -I/usr/include/libusb-1.0 -lpthread
in Makefile, no success. Any clue what I am missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.