From f6a0ed57a4a5729b83fa62985ea04127f8bd9103 Mon Sep 17 00:00:00 2001 From: alexklimaj Date: Wed, 4 Feb 2026 11:05:20 -0700 Subject: [PATCH] dshot: remove redundant static_assert for ESC_MAX channels --- src/drivers/dshot/DShot.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/drivers/dshot/DShot.h b/src/drivers/dshot/DShot.h index a8e7ef7633..72776168c6 100644 --- a/src/drivers/dshot/DShot.h +++ b/src/drivers/dshot/DShot.h @@ -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;