diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-02-28 13:18:23 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-03-01 16:12:48 +0100 |
commit | 80dddfd90d90b35b936ac9f21ecadea19c8be41b (patch) | |
tree | 367cb62f5dfbbf8c66633bd7a428f4962748ff75 /src | |
parent | cb0a076728692e5577fc08ffdfdef7b0f59dd0c8 (diff) |
octphy: replace #warning with #pragma message
warning causes the compiler to throw an actual warning. Lets
change those intentional warnings to messages.
Change-Id: I2fc83a1a07db9c569b93f29835bf3a0fd8ef4ef5
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bts-octphy/l1_if.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-octphy/l1_oml.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c index e94b6427..700cc80b 100644 --- a/src/osmo-bts-octphy/l1_if.c +++ b/src/osmo-bts-octphy/l1_if.c @@ -660,7 +660,7 @@ static int mph_info_req(struct gsm_bts_trx *trx, struct msgb *msg, if (l1sap->u.info.type == PRIM_INFO_ACTIVATE) l1if_rsl_chan_act(lchan); else if (l1sap->u.info.type == PRIM_INFO_MODIFY) { -#warning "Mode Modify is currently not not supported for Octasic PHY" +#pragma message ("Mode Modify is currently not supported for Octasic PHY (OS#3015)") /* l1if_rsl_mode_modify(lchan); */ } else if (l1sap->u.info.u.act_req.sacch_only) l1if_rsl_deact_sacch(lchan); diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c index d57228d5..018a4f9a 100644 --- a/src/osmo-bts-octphy/l1_oml.c +++ b/src/osmo-bts-octphy/l1_oml.c @@ -1722,7 +1722,7 @@ int bts_model_opstart(struct gsm_bts *bts, struct gsm_abis_mo *mo, void *obj) int bts_model_change_power(struct gsm_bts_trx *trx, int p_trxout_mdBm) { -#warning "Implement bts_model_change_power based on TRX_MODIFY_RF_CID" +#pragma message ("Implement bts_model_change_power based on TRX_MODIFY_RF_CID (OS#3016)") return 0; } |