fix building ebusfeed

This commit is contained in:
John
2023-10-01 18:24:12 +02:00
parent c71b1daf74
commit d9f1bc58f3
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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)
+2
View File
@@ -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;