From a203282779f6fdae965837be4d2a22394a9241a7 Mon Sep 17 00:00:00 2001
From: Amilcar Lucas <amilcar.lucas@gmail.com>
Date: Sun, 11 Mar 2012 21:30:09 +0100
Subject: [PATCH] correct small typos in comments

---
 ArduPlane/config.h             | 2 +-
 libraries/AP_Common/AP_Param.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ArduPlane/config.h b/ArduPlane/config.h
index 490fdb063..90515198a 100644
--- a/ArduPlane/config.h
+++ b/ArduPlane/config.h
@@ -519,7 +519,7 @@
 
 
 
-/*  The following parmaeters have no corresponding control implementation
+/*  The following parameters have no corresponding control implementation
 #ifndef THROTTLE_ALT_P
 # define THROTTLE_ALT_P         0.32
 #endif
diff --git a/libraries/AP_Common/AP_Param.h b/libraries/AP_Common/AP_Param.h
index 596b07c29..68564fa8a 100644
--- a/libraries/AP_Common/AP_Param.h
+++ b/libraries/AP_Common/AP_Param.h
@@ -22,7 +22,7 @@
 #define AP_MAX_NAME_SIZE 15
 #define AP_NESTED_GROUPS_ENABLED
 
-// a varient of offsetof() to work around C++ restrictions.
+// a variant of offsetof() to work around C++ restrictions.
 // this can only be used when the offset of a variable in a object
 // is constant and known at compile time
 #define AP_VAROFFSET(type, element) (((uintptr_t)(&((const type *)1)->element))-1)
-- 
GitLab