From 6e9ffb4249524722c40eabc74b41e1d97e60a5c1 Mon Sep 17 00:00:00 2001 From: Amilcar Lucas 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 490fdb0631..90515198a2 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 596b07c29e..68564fa8a4 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)