aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnetz
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-07-15 21:14:52 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2019-07-15 21:14:52 +0200
commit75765d49b735f3a998a5c0ee4b372b4d1da7576c (patch)
tree37c6044b327de55a343e9ae4da882cc2ee133a9e /src/cnetz
parentc357ab5ad53aac6a469aef77c42332918670620a (diff)
Fixed many typos in output and source code comments
Diffstat (limited to 'src/cnetz')
-rw-r--r--src/cnetz/cnetz.c2
-rw-r--r--src/cnetz/fsk_demod.c4
-rw-r--r--src/cnetz/main.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cnetz/cnetz.c b/src/cnetz/cnetz.c
index 44dd635..7ccfc3b 100644
--- a/src/cnetz/cnetz.c
+++ b/src/cnetz/cnetz.c
@@ -96,7 +96,7 @@
*
* In case of a combined OgK+SpK, the channel stays the same, but will change.
*
- * See below for detailled processing.
+ * See below for detailed processing.
*/
/*
diff --git a/src/cnetz/fsk_demod.c b/src/cnetz/fsk_demod.c
index 54ad41f..6362d9e 100644
--- a/src/cnetz/fsk_demod.c
+++ b/src/cnetz/fsk_demod.c
@@ -81,7 +81,7 @@
* When we are synced:
*
* After we recorded the time of all level changes during the sync sequence, we
- * calulate an average and use it as a time base for sampling the subsequent 150
+ * calculate an average and use it as a time base for sampling the subsequent 150
* bit of a message. From now on, a bit change does not cause any resync. We
* just remember what change we received. Later we use it for sampling the 150
* bits.
@@ -100,7 +100,7 @@
* since the mobile phone is perfectly synced to us.
*
* After receiving and decoding of a frame, we use the time of received sync
- * sequence to synchronize the reciever to the mobile phone. If we receive a
+ * sequence to synchronize the receiver to the mobile phone. If we receive a
* message on the OgK (control channel), we know that this is a response to a
* message of a specific time slot we recently sent. Then we can fully sync the
* receiver's clock. For any other frame, we cannot determine the absolute
diff --git a/src/cnetz/main.c b/src/cnetz/main.c
index 50f7e9b..7acca67 100644
--- a/src/cnetz/main.c
+++ b/src/cnetz/main.c
@@ -280,7 +280,7 @@ static int handle_options(int short_option, int argi, char **argv)
case 'C':
p = strchr(argv[argi], ',');
if (!p) {
- fprintf(stderr, "Illegal clock speed, use two values, seperated by comma and no spaces!\n");
+ fprintf(stderr, "Illegal clock speed, use two values, separated by comma and no spaces!\n");
return -EINVAL;
}
clock_speed[0] = strtold(argv[argi], NULL);