FreeCalypso > hg > fc-rfcal-tools
comparison autocal/txpwrmeas.c @ 54:21f6dba5c4df
fc-rfcal-txcheck ready to test
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 16:03:40 +0000 |
parents | |
children | b313884c79fd |
comparison
equal
deleted
inserted
replaced
53:bc2397f62bdb | 54:21f6dba5c4df |
---|---|
1 /* | |
2 * This module contains the Tx power measurement function. | |
3 */ | |
4 | |
5 #include <stdio.h> | |
6 #include <stdlib.h> | |
7 | |
8 extern char tsid_response[]; | |
9 | |
10 double | |
11 tx_power_meas() | |
12 { | |
13 double meas; | |
14 | |
15 tsid_command("power-meas\n"); | |
16 meas = atof(tsid_response + 1); | |
17 return(meas); | |
18 } |