aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2025-03-11 22:47:35 +0100
committerGuido Günther <agx@sigxcpu.org>2025-03-11 23:15:57 +0100
commit68933455df82b2259c1a091232ded3334c87c551 (patch)
treefa451fa7ccc49526d238f0ed59a6d11875d11a62 /src/mm-modem-helpers.h
parenta19fd8588402161a8e0b7eb1a08ebf7ab17f73da (diff)
treewide: Fix typos
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 6c41596e..f4b2ae8b 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -590,11 +590,11 @@ guint mm_sim_validate_mnc_length (const guint8 *bin,
/*****************************************************************************/
/* Signal quality percentage from different sources */
-/* Limit the value betweeen [-113,-51] and scale it to a percentage */
+/* Limit the value between [-113,-51] and scale it to a percentage */
#define MM_RSSI_TO_QUALITY(rssi) \
(guint8)(100 - ((CLAMP (rssi, -113, -51) + 51) * 100 / (-113 + 51)))
-/* Limit the value betweeen [-110,-60] and scale it to a percentage */
+/* Limit the value between [-110,-60] and scale it to a percentage */
#define MM_RSRP_TO_QUALITY(rsrp) \
(guint8)(100 - ((CLAMP (rsrp, -110, -60) + 60) * 100 / (-110 + 60)))