diff options
author | Nick Foster <nick@nerdnetworks.org> | 2011-01-17 14:51:06 -0800 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2011-01-17 14:51:06 -0800 |
commit | caa911aa270ee4aef7244f3159b9fd402a454069 (patch) | |
tree | 57e85e00e9727aade1a4dafaa6da98eb5e2b4b6c /firmware/zpu/apps | |
parent | d521bd1c28acf0ca159f8c84a8189bef11fdf65d (diff) | |
download | uhd-caa911aa270ee4aef7244f3159b9fd402a454069.tar.gz uhd-caa911aa270ee4aef7244f3159b9fd402a454069.tar.bz2 uhd-caa911aa270ee4aef7244f3159b9fd402a454069.zip |
next: fngets() fixed for GPS driver. polling/timeout moved to host side. small changes to GPS output text.
Diffstat (limited to 'firmware/zpu/apps')
-rw-r--r-- | firmware/zpu/apps/txrx_uhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/zpu/apps/txrx_uhd.c b/firmware/zpu/apps/txrx_uhd.c index 61a2c1f76..4ccb585e2 100644 --- a/firmware/zpu/apps/txrx_uhd.c +++ b/firmware/zpu/apps/txrx_uhd.c @@ -230,7 +230,7 @@ static void handle_udp_ctrl_packet( //executes a readline()-style read, up to num_bytes long, up to and including newline int num_bytes = ctrl_data_in->data.uart_args.bytes; if(num_bytes > 20) num_bytes = 20; - num_bytes = fngets_timeout(ctrl_data_in->data.uart_args.dev, (char *) ctrl_data_out.data.uart_args.data, num_bytes); + num_bytes = fngets_noblock(ctrl_data_in->data.uart_args.dev, (char *) ctrl_data_out.data.uart_args.data, num_bytes); ctrl_data_out.id = USRP2_CTRL_ID_I_HELLA_READ_THAT_UART_DUDE; ctrl_data_out.data.uart_args.bytes = num_bytes; break; |