Change in osmo-pcu[master]: fixup: for "bts: refactor handling and parsing of RACH.ind"

2020-05-21 Thread fixeria
fixeria has abandoned this change. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/18390 )

Change subject: fixup: for "bts: refactor handling and parsing of RACH.ind"
..


Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/18390
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I34c39fd4734b2d33a58381170e06dcbdada48b47
Gerrit-Change-Number: 18390
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: abandon


Change in osmo-pcu[master]: fixup: for "bts: refactor handling and parsing of RACH.ind"

2020-05-21 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/18390 )


Change subject: fixup: for "bts: refactor handling and parsing of RACH.ind"
..

fixup: for "bts: refactor handling and parsing of RACH.ind"

Change-Id: I34c39fd4734b2d33a58381170e06dcbdada48b47
---
M src/pcu_l1_if.cpp
1 file changed, 7 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/90/18390/1

diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index fb07337..4439d7a 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -432,12 +432,13 @@
 /* C -> C++ adapter for direct DSP access code (e.g. osmo-bts-sysmo) */
 extern "C" int pcu_rx_rach_ind_ptcch(uint8_t trx_nr, uint8_t ts_nr, uint32_t 
fn, int16_t qta)
 {
-   struct rach_ind_params rip = {
-   trx_nr  : trx_nr,
-   ts_nr   : ts_nr,
-   rfn : fn,
-   qta : qta,
-   };
+   /* C++/G++: "non-trivial designated initializers not supported" */
+   struct rach_ind_params rip = { 0 };
+
+   rip.trx_nr = trx_nr;
+   rip.ts_nr = ts_nr;
+   rip.rfn = fn;
+   rip.qta = qta;

return BTS::main_bts()->rcv_ptcch_rach();
 }

--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/18390
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I34c39fd4734b2d33a58381170e06dcbdada48b47
Gerrit-Change-Number: 18390
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange