From c41fd8cab44f0c496d3b2ecf6f30e94c67f79501 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Fri, 23 Aug 2013 23:10:16 +0200 Subject: fix some typos in comments --- src/osmo-bts-trx/l1_if.c | 6 +++--- src/osmo-bts-trx/scheduler.c | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c index a135d442..85be4744 100644 --- a/src/osmo-bts-trx/l1_if.c +++ b/src/osmo-bts-trx/l1_if.c @@ -55,7 +55,7 @@ static const uint8_t transceiver_chan_types[_GSM_PCHAN_MAX] = { /* - * create destroy trx l1 instance + * create/destroy trx l1 instance */ struct trx_l1h *l1if_open(struct gsm_bts_trx *trx) @@ -508,7 +508,7 @@ int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap) } /* activate dedicated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x00, 1); - /* activate assoicated channel */ + /* activate associated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x40, 1); /* set mode */ trx_sched_set_mode(l1h, chan_nr, @@ -555,7 +555,7 @@ int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap) "chan_nr 0x%02x\n", chan_nr); break; } - /* deactivate assoicated channel */ + /* deactivate associated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x40, 0); /* set lchan inactive * (also if only sacch, so no meaurement is done) */ diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c index 6652909f..a02a2de1 100644 --- a/src/osmo-bts-trx/scheduler.c +++ b/src/osmo-bts-trx/scheduler.c @@ -44,7 +44,7 @@ #include "loops.h" /* Enable this to multiply TOA of RACH by 10. - * This usefull to check tenth of timing advances with RSSI test tool. + * This is usefull to check tenth of timing advances with RSSI test tool. * Note that regular phones will not work when using this test! */ //#define TA_TEST @@ -430,7 +430,7 @@ static int rts_tchh_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, /* - * TX on donlink + * TX on downlink */ /* an IDLE burst returns nothing. on C0 it is replaced by dummy burst */ @@ -1027,7 +1027,7 @@ static ubit_t *tx_tchf_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, memset(*bursts_p + 464, 0, 464); } - /* mo message at all */ + /* no message at all */ if (!msg_tch && !msg_facch) { LOGP(DL1C, LOGL_INFO, "%s has not been served !! No prim for " "trx=%u ts=%u at fn=%u to transmit.\n", @@ -1117,7 +1117,7 @@ static ubit_t *tx_tchh_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, } } - /* mo message at all */ + /* no message at all */ if (!msg_tch && !msg_facch && !chan_state->dl_ongoing_facch) { LOGP(DL1C, LOGL_INFO, "%s has not been served !! No prim for " "trx=%u ts=%u at fn=%u to transmit.\n", @@ -2988,7 +2988,7 @@ new_clock: tv_clock->tv_sec++; tv_clock->tv_usec -= 1000000; } - /* set time to the time our next FN hast to be transmitted */ + /* set time to the time our next FN has to be transmitted */ osmo_timer_schedule(&transceiver_clock_timer, 0, FRAME_DURATION_uS * (1 - elapsed_fn)); -- cgit v1.2.3