mirror of https://github.com/rusefi/bldc.git
Fixed typo
This commit is contained in:
parent
32b82495b5
commit
86ba03b263
|
@ -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"))
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue