From c741604b1e43047b45778bde13fb1342e66adfef Mon Sep 17 00:00:00 2001 From: mattprost Date: Wed, 8 Jun 2022 17:18:21 -0500 Subject: examples: gpio: output before end of stream The gpio values should be output before the stream ends. This matches the behavior of other tests in this file and prevents strange logs for passing tests. Signed-off-by: mattprost --- host/examples/gpio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') diff --git a/host/examples/gpio.cpp b/host/examples/gpio.cpp index 5ee504de1..5b3c9a9dc 100644 --- a/host/examples/gpio.cpp +++ b/host/examples/gpio.cpp @@ -625,8 +625,8 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) failures += int(!check_rb_values(usrp->get_gpio_attr(gpio_bank, "READBACK"), GPIO_BIT(3), num_bits, loopback_num_bits)); - stream_helper.stop_stream(true, true); output_reg_values(gpio_bank, port, usrp, num_bits, has_src_api); + stream_helper.stop_stream(true, true); } std::cout << std::endl; -- cgit v1.2.3