From 86ba03b26395a3ae5ee4fd7bc9bcee5fd71effdc Mon Sep 17 00:00:00 2001 From: Benjamin Vedder Date: Tue, 6 Dec 2022 14:50:28 +0100 Subject: [PATCH] Fixed typo --- lispBM/README.md | 2 +- lispBM/c_libs/vesc_c_if.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lispBM/README.md b/lispBM/README.md index df335264..fe5788f4 100644 --- a/lispBM/README.md +++ b/lispBM/README.md @@ -58,7 +58,7 @@ Reset the timeout that stops the motor. This has to be run on at least every sec (get-ppm) ``` -Read the decoded value on the PPM input, range 0.0 to 1.0. If the PPM-decoder is not running it will be initialized and the PPM-pin will be reconfigured, so make sure that nothing else is using that pin. Example: +Read the decoded value on the PPM input, range -1.0 to 1.0. If the PPM-decoder is not running it will be initialized and the PPM-pin will be reconfigured, so make sure that nothing else is using that pin. Example: ```clj (print (str-from-n (get-ppm) "PPM Value: %.2f")) diff --git a/lispBM/c_libs/vesc_c_if.h b/lispBM/c_libs/vesc_c_if.h index c98053c4..6454d4b8 100755 --- a/lispBM/c_libs/vesc_c_if.h +++ b/lispBM/c_libs/vesc_c_if.h @@ -568,7 +568,7 @@ typedef struct { // Input Devices remote_state (*get_remote_state)(void); - float (*get_ppm)(void); // Get decoded PPM, range 0.0 to 1.0. If the decoder is not running it will be started. + float (*get_ppm)(void); // Get decoded PPM, range -1.0 to 1.0. If the decoder is not running it will be started. float (*get_ppm_age)(void); // Get time since a pulse was decoded in seconds } vesc_c_if;