mirror of https://github.com/PentHertz/srsLTE.git
Fix successful related typos
This commit is contained in:
parent
e8095529d7
commit
2c7287e4d4
|
@ -50,9 +50,9 @@ public:
|
|||
*/
|
||||
struct cell_select_result_t {
|
||||
enum {
|
||||
ERROR = 0, ///< The cell selection procedure failed due a to an invalid configuration
|
||||
UNSUCCESFUL, ///< The cell selection failed to find and synchronise the SSB
|
||||
SUCCESFUL, ///< The cell selection was succesful, resulting in a camping state
|
||||
ERROR = 0, ///< The cell selection procedure failed due a to an invalid configuration
|
||||
UNSUCCESSFUL, ///< The cell selection failed to find and synchronise the SSB
|
||||
SUCCESSFUL, ///< The cell selection was successful, resulting in a camping state
|
||||
} status;
|
||||
};
|
||||
|
||||
|
|
|
@ -187,10 +187,10 @@ rrc_interface_phy_nr::cell_select_result_t sync_sa::cell_select_run(const phy_in
|
|||
// Determine if the procedure was successful if the current state is camping, otherwise it is unsuccessful
|
||||
if (phy_state.is_camping()) {
|
||||
logger.info("Cell Select: SFN synchronized. CAMPING...");
|
||||
result.status = rrc_interface_phy_nr::cell_select_result_t::SUCCESFUL;
|
||||
result.status = rrc_interface_phy_nr::cell_select_result_t::SUCCESSFUL;
|
||||
} else {
|
||||
logger.info("Cell Select: Could not synchronize SFN");
|
||||
result.status = rrc_interface_phy_nr::cell_select_result_t::UNSUCCESFUL;
|
||||
result.status = rrc_interface_phy_nr::cell_select_result_t::UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
rrc_proc_state = PROC_IDLE;
|
||||
|
|
|
@ -230,7 +230,7 @@ int main(int argc, char** argv)
|
|||
// Start cell selection procedure
|
||||
srsue::rrc_interface_phy_nr::cell_select_result_t cs_res =
|
||||
tb.run_cell_select(args.phy_cfg.carrier, args.phy_cfg.get_ssb_cfg());
|
||||
srsran_assert(cs_res.status == srsue::rrc_interface_phy_nr::cell_select_result_t::SUCCESFUL,
|
||||
srsran_assert(cs_res.status == srsue::rrc_interface_phy_nr::cell_select_result_t::SUCCESSFUL,
|
||||
"Failed to perform cell selection");
|
||||
|
||||
// Run per TTI basis
|
||||
|
|
Loading…
Reference in New Issue