fix building ebusfeed
This commit is contained in:
@@ -16,6 +16,7 @@ if(HAVE_CONTRIB)
|
||||
endif(HAVE_CONTRIB)
|
||||
|
||||
add_library(ebus ${libebus_a_SOURCES})
|
||||
target_link_libraries(ebus utils ${libebus_a_LIBS})
|
||||
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
|
||||
@@ -108,6 +108,7 @@ int main(int argc, char* argv[]) {
|
||||
ebusd::argParseOpt parseOpt = {
|
||||
argDefs,
|
||||
parse_opt,
|
||||
af_noVersion,
|
||||
"ebusfeed",
|
||||
"[DUMPFILE]",
|
||||
"Feed data from an " PACKAGE " DUMPFILE to a serial device.",
|
||||
@@ -120,6 +121,7 @@ int main(int argc, char* argv[]) {
|
||||
" 'ln -s /dev/pts/3 /dev/ttyUSB20'\n"
|
||||
" 3. start " PACKAGE ": '" PACKAGE " -f -d /dev/ttyUSB20 --nodevicecheck'\n"
|
||||
" 4. start ebusfeed: 'ebusfeed /path/to/ebus_dump.bin'",
|
||||
nullptr,
|
||||
&opt
|
||||
};
|
||||
int arg_index = -1;
|
||||
|
||||
Reference in New Issue
Block a user