ESC status - supporting negative RPM

This commit is contained in:
Pavel Kirienko
2014-10-15 13:48:55 +04:00
parent ecd144b8b4
commit f9856c6228
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ struct esc_status_s {
uint16_t esc_setpoint_raw; /**< setpoint of current ESC (Value sent to ESC) */
uint16_t esc_address; /**< Address of current ESC (in most cases 1-8 / must be set by driver) */
uint16_t esc_version; /**< Version of current ESC - if supported */
uint16_t esc_rpm; /**< RPM measured from current ESC [RPM] - if supported */
int32_t esc_rpm; /**< Motor RPM, negative for reverse rotation [RPM] - if supported */
uint16_t esc_state; /**< State of ESC - depend on Vendor */
} esc[CONNECTED_ESC_MAX];