diff --git a/ArduPlane/config.h b/ArduPlane/config.h index 490fdb06319bedfbeffd1973d1a618902baf9fcc..90515198a2603f1b515f7667e387851dfcca30d3 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 596b07c29ef7d13ed6bd09533525967a5bb5d67c..68564fa8a4265dec8e404df317188dc3255800f1 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)