Add printable libhackrf and hackrf tools version strings

This commit is contained in:
Dominic Spill
2017-02-05 21:40:57 -07:00
parent 15a2c61568
commit 38c67f7e89
6 changed files with 45 additions and 5 deletions

View File

@@ -44,6 +44,10 @@ int main(void)
hackrf_error_name(result), result);
return EXIT_FAILURE;
}
printf("hackrf_info version: %s\n", TOOL_RELEASE);
printf("libhackrf version: %s (%s)\n", hackrf_library_release(),
hackrf_library_version());
list = hackrf_device_list();