From 1c4bdfd8fcbaf5823d6d68ed8bd0ad4037d36809 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 30 May 2018 06:49:48 -0600 Subject: [PATCH] libs/libdsp: Trivial typo fixes from review of last PR; hook README file into documentation. --- Documentation/README.html | 4 +++- README.txt | 2 ++ libs/libdsp/lib_observer.c | 3 +-- libs/libdsp/lib_pid.c | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/README.html b/Documentation/README.html index aecabdc7ae..2a74c3e5a9 100644 --- a/Documentation/README.html +++ b/Documentation/README.html @@ -8,7 +8,7 @@

NuttX README Files

-

Last Updated: May 29, 2018

+

Last Updated: May 30, 2018

@@ -390,6 +390,8 @@ nuttx/ | |- libc/ | | |- zoneinfo/README.txt | | `- README.txt + | |- libdsp/ + | | `- README.txt | |- libnx/ | | |- libnx/README.txt | | `- README.txt diff --git a/README.txt b/README.txt index 5aca4d83b0..49ceb3fc36 100644 --- a/README.txt +++ b/README.txt @@ -1981,6 +1981,8 @@ nuttx/ | | |- zoneinfo | | | `- README.txt | | `- README.txt + | |- libdsp/ + | | `- README.txt | |- libnx/ | | |- nxfongs | | | `- README.txt diff --git a/libs/libdsp/lib_observer.c b/libs/libdsp/lib_observer.c index 0097b3bace..44d671dd95 100644 --- a/libs/libdsp/lib_observer.c +++ b/libs/libdsp/lib_observer.c @@ -54,7 +54,6 @@ * Public Functions ****************************************************************************/ - /**************************************************************************** * Name: motor_observer_init * @@ -317,7 +316,7 @@ void motor_observer_smo(FAR struct motor_observer_s *observer, FAR ab_frame_t *i #if 1 /* Some assertions - * TODO: simplyfy + * TODO: simplify */ if (angle != angle) angle = 0.0; diff --git a/libs/libdsp/lib_pid.c b/libs/libdsp/lib_pid.c index 0f937559d3..466d2ce99f 100644 --- a/libs/libdsp/lib_pid.c +++ b/libs/libdsp/lib_pid.c @@ -250,7 +250,7 @@ float pid_controller(FAR pid_controller_t *pid, float err) pid->part[2] = pid->KD * (err - pid->err_prev); - /* Add diverative part to the PI part */ + /* Add derivative part to the PI part */ pid->out += pid->part[2];