From 4253150bab9b8671b749e2f5ec910d0cca119558 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 11 Jul 2012 22:11:13 +0200 Subject: calib: Use base 16 encoding for the dsp trace flags --- contrib/sysmobts-calib/sysmobts-calib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sysmobts-calib/sysmobts-calib.c b/contrib/sysmobts-calib/sysmobts-calib.c index 2b585db1..e246a327 100644 --- a/contrib/sysmobts-calib/sysmobts-calib.c +++ b/contrib/sysmobts-calib/sysmobts-calib.c @@ -165,7 +165,7 @@ static void handle_options(int argc, char **argv) ARRAY_SIZE(bands), optarg); break; case 'd': - dsp_flags = atoi(optarg); + dsp_flags = strtol(optarg, NULL, 16); break; case 'a': cal_arfcn = atoi(optarg); -- cgit v1.2.3