aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-17 19:26:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-18 19:11:55 +0200
commitf5e22703e76ee04b8f80911eb71f62a4357d3e64 (patch)
tree5ab79f922ac732c2d07ea46640621237169cda30 /tests
parentd819a57c60a28dcad4478f041e82b9da818e0373 (diff)
power_ramp: Add support to get callback when ramping process completes
It will be used in forthcoming commits to feed FSM events once the ramping process completes. Change-Id: I778dc215cf6055b93658670cc12e78ad2e51f85e
Diffstat (limited to 'tests')
-rw-r--r--tests/tx_power/tx_power_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tx_power/tx_power_test.c b/tests/tx_power/tx_power_test.c
index aaa34ea8..02c940ff 100644
--- a/tests/tx_power/tx_power_test.c
+++ b/tests/tx_power/tx_power_test.c
@@ -200,7 +200,7 @@ static void test_power_ramp(struct gsm_bts_trx *trx, int dBm)
trx->power_params.ramp.step_interval_sec = 0; /* speedup test */
trx->max_power_red = 0;
- power_ramp_start(trx, to_mdB(dBm), 0);
+ power_ramp_start(trx, to_mdB(dBm), 0, NULL);
}
int main(int argc, char **argv)