45 #define ESC_STATUS_CONNECTED_ESC_MAX 8 46 #define ESC_STATUS_ESC_CONNECTION_TYPE_PPM 0 47 #define ESC_STATUS_ESC_CONNECTION_TYPE_SERIAL 1 48 #define ESC_STATUS_ESC_CONNECTION_TYPE_ONESHOT 2 49 #define ESC_STATUS_ESC_CONNECTION_TYPE_I2C 3 50 #define ESC_STATUS_ESC_CONNECTION_TYPE_CAN 4 51 #define ESC_STATUS_ESC_CONNECTION_TYPE_DSHOT 5 71 static constexpr uint8_t CONNECTED_ESC_MAX = 8;
72 static constexpr uint8_t ESC_CONNECTION_TYPE_PPM = 0;
73 static constexpr uint8_t ESC_CONNECTION_TYPE_SERIAL = 1;
74 static constexpr uint8_t ESC_CONNECTION_TYPE_ONESHOT = 2;
75 static constexpr uint8_t ESC_CONNECTION_TYPE_I2C = 3;
76 static constexpr uint8_t ESC_CONNECTION_TYPE_CAN = 4;
77 static constexpr uint8_t ESC_CONNECTION_TYPE_DSHOT = 5;
API for the uORB lightweight object broker.
uint8_t esc_connectiontype