From bbddc1e584dd01b60042f622f8cecfc69361020b Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 27 Jul 2016 17:44:27 +0200 Subject: fix unexpected ending spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie7ebccb02b42e91457df3bdbf2a6f037b248400e Signed-off-by: José Bollo --- bindings/radio/radio-rtlsdr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bindings/radio/radio-rtlsdr.c') diff --git a/bindings/radio/radio-rtlsdr.c b/bindings/radio/radio-rtlsdr.c index 7f76306e..00ceba63 100644 --- a/bindings/radio/radio-rtlsdr.c +++ b/bindings/radio/radio-rtlsdr.c @@ -37,13 +37,13 @@ static struct dev_ctx **dev_ctx = NULL; /* Radio initialization should be done only when user start the radio and not at plugin initialization Making this call too early would impose to restart the binder to detect a radio */ unsigned char _radio_on (unsigned int num, radioCtxHandleT *ctx) { - + if (num >= _radio_dev_count()) return 0; - + if (init_dev_count < _radio_dev_count()) { init_dev_count = _radio_dev_count(); - dev_ctx = (dev_ctx_T**) realloc (dev_ctx, init_dev_count * sizeof(dev_ctx_T*)); + dev_ctx = (dev_ctx_T**) realloc (dev_ctx, init_dev_count * sizeof(dev_ctx_T*)); } dev_ctx[num] = (dev_ctx_T*) malloc (sizeof(dev_ctx_T)); @@ -69,7 +69,7 @@ void _radio_off (unsigned int num) { _radio_dev_free (dev_ctx[num]); free (dev_ctx[num]); } - + /* free(dev_ctx); */ } -- cgit 1.2.3-korg