summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-10-13 19:10:52 +0200
committerlaforge <laforge@osmocom.org>2019-10-17 08:07:39 +0000
commit1f7a2ab5d3e13ead22797d13953be885d583c77e (patch)
treee6226b68f3ff9bbdca5a84f391db8c75bf0007be /src/target/firmware/layer1
parent9731f0d3222f9583b74e8c9713f3e127f5935032 (diff)
Fix common misspellings and typos
Diffstat (limited to 'src/target/firmware/layer1')
-rw-r--r--src/target/firmware/layer1/l23_api.c2
-rw-r--r--src/target/firmware/layer1/prim_fbsb.c4
-rw-r--r--src/target/firmware/layer1/prim_tch.c2
-rw-r--r--src/target/firmware/layer1/sync.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index e78020de..f55e6706 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -570,7 +570,7 @@ static void l1ctl_rx_traffic_req(struct msgb *msg)
struct l1ctl_traffic_req *tr = (struct l1ctl_traffic_req *) ul->payload;
int num = 0;
- /* printd("L1CTL_TRAFFIC_REQ\n"); */ /* Very verbose, can overwelm serial */
+ /* printd("L1CTL_TRAFFIC_REQ\n"); */ /* Very verbose, can overwhelm serial */
msg->l2h = tr->data;
diff --git a/src/target/firmware/layer1/prim_fbsb.c b/src/target/firmware/layer1/prim_fbsb.c
index 50acefcc..8eaeb5af 100644
--- a/src/target/firmware/layer1/prim_fbsb.c
+++ b/src/target/firmware/layer1/prim_fbsb.c
@@ -234,7 +234,7 @@ static int l1s_sbdet_resp(__unused uint8_t p1, uint8_t attempt,
synchronize_tdma(&l1s.serving_cell);
- /* if we have recived a SYNC burst, update our local GSM time */
+ /* if we have received a SYNC burst, update our local GSM time */
gsm_fn2gsmtime(&l1s.current_time, fbs.mon.time.fn + SB2_LATENCY);
/* compute next time from new current time */
l1s.next_time = l1s.current_time;
@@ -532,7 +532,7 @@ static void l1a_fb_compl(__unused enum l1_compl c)
return;
}
- /* FIME: use l1s.neigh_cell[fbs.cinfo_idx] */
+ /* FIXME: use l1s.neigh_cell[fbs.cinfo_idx] */
fbinfo2cellinfo(&l1s.serving_cell, last_fb);
/* send FBSB_CONF success message via L1CTL */
diff --git a/src/target/firmware/layer1/prim_tch.c b/src/target/firmware/layer1/prim_tch.c
index a8036d2f..02546544 100644
--- a/src/target/firmware/layer1/prim_tch.c
+++ b/src/target/firmware/layer1/prim_tch.c
@@ -607,7 +607,7 @@ const struct tdma_sched_item tch_d_sched_set[] = {
* ------------------------------------------------------------------------- */
/*
- * SACCH data are spread over 4 bursts, however they are so far appart that
+ * SACCH data are spread over 4 bursts, however they are so far apart that
* we can't use the normal scheduler to schedule all them at once in a single
* set.
* Therefore, the task code itself decides in which burst it is, if it's the
diff --git a/src/target/firmware/layer1/sync.c b/src/target/firmware/layer1/sync.c
index 36f42975..b1eedd0f 100644
--- a/src/target/firmware/layer1/sync.c
+++ b/src/target/firmware/layer1/sync.c
@@ -168,7 +168,7 @@ void l1s_reset_hw(void)
dsp_api.ndb->d_dsp_page = 0;
/* we have to really reset the TPU, otherwise FB detection
- * somtimes returns wrong TOA values. */
+ * sometimes returns wrong TOA values. */
tpu_reset(1);
tpu_reset(0);
tpu_rewind();