Fix use of undefined pp-token #errror, other typos.

This commit is contained in:
Juha Niskanen
2019-09-19 18:19:18 -06:00
committed by Gregory Nutt
parent c6689b3093
commit e8b5dd4528
99 changed files with 136 additions and 172 deletions
+2 -2
View File
@@ -97,11 +97,11 @@
/* Defines for third byte of header */
#define MAGIC_1 (char_type)'\037' /* First byte of compressed file */
#define MAGIC_2 (char_type)'\235' /* Second byte of compressed file */
#define BIT_MASK 0x1f /* Mask for 'number of compresssion bits' */
#define BIT_MASK 0x1f /* Mask for 'number of compression bits' */
/* Masks 0x20 and 0x40 are free. */
/* I think 0x20 should mean that there is */
/* a fourth header byte (for expansion). */
#define BLOCK_MODE 0x80 /* Block compresssion if table is full and */
#define BLOCK_MODE 0x80 /* Block compression if table is full and */
/* compression rate is dropping flush tables */
/* the next two codes should not be changed lightly, as they must not */
+2 -2
View File
@@ -54,8 +54,8 @@
* Name: ferror
*
* Description:
* This function will test if the last operation resulted in an eror. This
* is used to disambiguate EOF and error conditions.
* This function will test if the last operation resulted in an error.
* This is used to disambiguate EOF and error conditions.
*
* Returned Value:
* A non-zero value is returned to indicate the error condition.
+2 -2
View File
@@ -68,7 +68,7 @@ config MEMCPY_64BIT
bool "64-bit memcpy()"
default n
---help---
Compiles memcpy() for architectures that suppport 64-bit operations
Compiles memcpy() for architectures that support 64-bit operations
efficiently.
endif # MEMCPY_VIK
@@ -86,7 +86,7 @@ config MEMSET_64BIT
default n
depends on MEMSET_OPTSPEED
---help---
Compiles memset() for architectures that suppport 64-bit operations
Compiles memset() for architectures that support 64-bit operations
efficiently.
endmenu # memcpy/memset Options
+1 -1
View File
@@ -120,7 +120,7 @@ Sample Code to Mount the ROMFS Filesystem
****************************************************************************/
#ifndef CONFIG_LIBC_TZDIR
# errror CONFIG_LIBC_TZDIR is not defined
# error CONFIG_LIBC_TZDIR is not defined
#endif
#ifdef CONFIG_DISABLE_MOUNTPOINT
+2 -2
View File
@@ -60,7 +60,7 @@
* Initialize open-loop data
*
* Input Parameters:
* op - (in/out) pointer to the openlooop data structure
* op - (in/out) pointer to the openloop data structure
* max - (in) maximum openloop speed
* per - (in) period of the open-loop control
*
@@ -126,7 +126,7 @@ void motor_openloop(FAR struct openloop_data_s *op, float speed, float dir)
op->angle += phase_step;
/* Normalize the open-looop angle to 0.0 - 2PI range */
/* Normalize the open-loop angle to 0.0 - 2PI range */
angle_norm_2pi(&op->angle, MOTOR_ANGLE_E_MIN, MOTOR_ANGLE_E_MAX);
}
+1 -1
View File
@@ -287,7 +287,7 @@ void motor_observer_smo(FAR struct motor_observer_s *o, FAR ab_frame_t *i_ab,
i_est->a = smo->F_gain * i_est->a + smo->G_gain * (v_err->a - z->a);
i_est->b = smo->F_gain * i_est->b + smo->G_gain * (v_err->b - z->b);
/* Get motor current errror */
/* Get motor current error */
i_err->a = i_ab->a - i_est->a;
i_err->b = i_ab->b - i_est->b;
+2 -2
View File
@@ -51,7 +51,7 @@ config LIBCXX
if LIBCXX
config LIBCXX_EXCEPTION
bool "Enable Exception Suppport"
bool "Enable Exception Support"
default y
select CXX_EXCEPTION
@@ -78,7 +78,7 @@ config UCLIBCXX
if UCLIBCXX
config UCLIBCXX_EXCEPTION
bool "Enable Exception Suppport"
bool "Enable Exception Support"
default y
select CXX_EXCEPTION