diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-18 12:45:29 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-19 16:28:13 +0100 |
commit | a45aafd39cc1696b4850644cb3de5f79f6880da3 (patch) | |
tree | 74e120f49f29838674272bda085ebc92b292de0d /tests | |
parent | 2182e627cda3ada77a203f9549260046278caf0e (diff) |
Get rid of bts singletons
There's no BTS single global object anymore, get rid of those APIs. Move
users to use "pcu->bts", which will evolve to a linked list in the
future.
Change-Id: I9cf762b0d3cb9e2cc3582727e07fa82c8e183ec5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/emu/pcu_emu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp index ab2804b..d7b11ca 100644 --- a/tests/emu/pcu_emu.cpp +++ b/tests/emu/pcu_emu.cpp @@ -65,7 +65,7 @@ struct gprs_test all_tests[] = { static void init_main_bts() { - struct gprs_rlcmac_bts *bts = bts_main_data(); + struct gprs_rlcmac_bts *bts = the_pcu->bts; bts->initial_cs_dl = bts->initial_cs_ul = 1; bts->cs_mask = 1 << 0; /* CS-1 always enabled by default */ bts->n3101 = 10; |