Fixed typo

This commit is contained in:
Benjamin Vedder 2022-12-06 14:50:28 +01:00
parent 32b82495b5
commit 86ba03b263
2 changed files with 2 additions and 2 deletions

View File

@ -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"))

View File

@ -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;