From a4a33e57cb5e82a6f34609a3c4e3a5354a809bbe Mon Sep 17 00:00:00 2001 From: Bjoern Kerler Date: Sat, 15 Jun 2024 18:44:42 +0200 Subject: [PATCH] Fix wrong data format for usrp --- usrp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usrp.c b/usrp.c index 59a2fed..c793ab6 100644 --- a/usrp.c +++ b/usrp.c @@ -6,7 +6,7 @@ #include #include #include - +#include #include #include "sdr.h" @@ -101,7 +101,7 @@ void usrp_list(void) { if (type == NULL || serial == NULL) continue; - printf("interface {value=usrp-%s-%s}{display=ICE9 Bluetooth%s}\n", product, serial, + printf("interface {value=usrp-%s (%s)}{display=ICE9 Bluetooth%s}\n", product, serial, strcmp(type, "b200") == 0 ? "" : " (unsupported)"); free(usrp_info); @@ -156,8 +156,8 @@ void *usrp_stream_thread(void *arg) { void *buf; uhd_rx_metadata_error_code_t error_code; uhd_stream_args_t stream_args = { - .cpu_format = "fc32", - .otw_format = "sc16", + .cpu_format = "sc8", + .otw_format = "sc8", .args = "", .channel_list = &channel, .n_channels = 1