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