aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-07-11 22:11:13 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-07-11 23:14:35 +0200
commit4253150bab9b8671b749e2f5ec910d0cca119558 (patch)
tree0fb092e795e1eef15a636e4b8991d518406752b3 /contrib
parent38420fb9513db552d80629035ef4e92315e35b6d (diff)
calib: Use base 16 encoding for the dsp trace flags
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sysmobts-calib/sysmobts-calib.c2
1 files changed, 1 insertions, 1 deletions
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);