diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-12 12:59:15 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-12 12:59:15 +0100 |
commit | bc64391c538d85e6a1640dac0a76fe0f71a8efc4 (patch) | |
tree | bb5425f6278191a633b8f96c883b9938f557a413 /src/modules/uORB/topics/esc_status.h | |
parent | cd05dfcc7cb557575e62f5f93ddd3a86c073d517 (diff) | |
download | px4-firmware-bc64391c538d85e6a1640dac0a76fe0f71a8efc4.tar.gz px4-firmware-bc64391c538d85e6a1640dac0a76fe0f71a8efc4.tar.bz2 px4-firmware-bc64391c538d85e6a1640dac0a76fe0f71a8efc4.zip |
AUTOMATED code-style fix on topics. NO MANUAL OR SEMANTIC EDITS
Diffstat (limited to 'src/modules/uORB/topics/esc_status.h')
-rw-r--r-- | src/modules/uORB/topics/esc_status.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/esc_status.h b/src/modules/uORB/topics/esc_status.h index 11332d7a7..628824efa 100644 --- a/src/modules/uORB/topics/esc_status.h +++ b/src/modules/uORB/topics/esc_status.h @@ -60,7 +60,7 @@ enum ESC_VENDOR { ESC_VENDOR_GENERIC = 0, /**< generic ESC */ ESC_VENDOR_MIKROKOPTER, /**< Mikrokopter */ - ESC_VENDOR_GRAUPNER_HOTT /**< Graupner HoTT ESC */ + ESC_VENDOR_GRAUPNER_HOTT /**< Graupner HoTT ESC */ }; enum ESC_CONNECTION_TYPE { @@ -79,16 +79,15 @@ enum ESC_CONNECTION_TYPE { /** * Electronic speed controller status. */ -struct esc_status_s -{ +struct esc_status_s { /* use of a counter and timestamp recommended (but not necessary) */ uint16_t counter; /**< incremented by the writing thread everytime new data is stored */ uint64_t timestamp; /**< in microseconds since system start, is set whenever the writing thread stores new data */ - + uint8_t esc_count; /**< number of connected ESCs */ enum ESC_CONNECTION_TYPE esc_connectiontype; /**< how ESCs connected to the system */ - + struct { uint16_t esc_address; /**< Address of current ESC (in most cases 1-8 / must be set by driver) */ enum ESC_VENDOR esc_vendor; /**< Vendor of current ESC */ |