From 51afbb4f9d0009b88de6cb065bbbb25a4c97f711 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 10 Feb 2017 11:31:05 +0100 Subject: Add support for SoapySDR --- src/Utils.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Utils.h') diff --git a/src/Utils.h b/src/Utils.h index 46c46d5..e2b8a2f 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -3,7 +3,7 @@ Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2015 + Copyright (C) 2017 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -25,8 +25,7 @@ along with ODR-DabMod. If not, see . */ -#ifndef __UTILS_H_ -#define __UTILS_H_ +#pragma once #ifdef HAVE_CONFIG_H # include "config.h" @@ -36,6 +35,7 @@ #include #include #include +#include void printUsage(char* progName); @@ -62,5 +62,6 @@ int set_realtime_prio(int prio); void set_thread_name(const char *name); -#endif +// Convert a channel like 10A to a frequency +double parseChannel(const std::string& chan); -- cgit v1.2.3