Project

General

Profile

Feature #4054 » patch_exit_osmo-rfds.diff

exit instead of loop - roh, 06/26/2019 03:10 PM

View differences:

sw/osmo-rfds.c
413 413
	/* Start streaming */
414 414
	app_pluto_start(app);
415 415

  
416
	/* Dummy loop */
417
	while (1)
418
	{
419
		memset(iio_buffer_start(app->pluto.tx_buf), 0x00, app->opts.buf_size);
420
		iio_buffer_push(app->pluto.tx_buf);
421
		iio_buffer_refill(app->pluto.rx_buf);
422
	}
416
	memset(iio_buffer_start(app->pluto.tx_buf), 0x00, app->opts.buf_size);
417
	iio_buffer_push(app->pluto.tx_buf);
418
	iio_buffer_refill(app->pluto.rx_buf);
423 419

  
424 420
err:
425 421
	/* Stop streaming */
(2-2/5)
Add picture from clipboard (Maximum size: 48.8 MB)