FreeCalypso > hg > fc-rfcal-tools
comparison autocal/txpwrmeas.c @ 55:b313884c79fd
autocal Tx: txpwr-cal-setup factored out of fc-rfcal-txcheck
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 19:44:08 +0000 |
parents | 21f6dba5c4df |
children | 94e8a410d6bd |
comparison
equal
deleted
inserted
replaced
54:21f6dba5c4df | 55:b313884c79fd |
---|---|
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 | 7 |
8 extern char tsid_response[]; | 8 extern char tsid_response[]; |
9 | |
10 do_txpwr_cal_setup(band, arfcn) | |
11 char *band; | |
12 unsigned arfcn; | |
13 { | |
14 char cmd[80]; | |
15 | |
16 sprintf(cmd, "txpwr-cal-setup %s %u\n", band, arfcn); | |
17 tsid_command(cmd); | |
18 return(0); | |
19 } | |
9 | 20 |
10 double | 21 double |
11 tx_power_meas() | 22 tx_power_meas() |
12 { | 23 { |
13 double meas; | 24 double meas; |