mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 06:03:34 +08:00
dshot: remove redundant static_assert for ESC_MAX channels
This commit is contained in:
@@ -51,8 +51,6 @@ using namespace time_literals;
|
||||
#endif
|
||||
|
||||
static_assert(DSHOT_MAXIMUM_CHANNELS <= 16, "DShot driver uses uint16_t bitmasks");
|
||||
static_assert(esc_status_s::CONNECTED_ESC_MAX <= DSHOT_MAXIMUM_CHANNELS,
|
||||
"esc_status array must not exceed DShot channel count");
|
||||
|
||||
static constexpr hrt_abstime ESC_INIT_TELEM_DELAY = 5_s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user