From ebbeb99d4fd2561d95f676a43637ddb6262791f8 Mon Sep 17 00:00:00 2001 From: Wastl Kraus Date: Fri, 25 Jul 2025 21:06:48 +0200 Subject: [PATCH] ...fix Accessors --- DShotRMT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DShotRMT.h b/DShotRMT.h index c154ea2..049aab6 100644 --- a/DShotRMT.h +++ b/DShotRMT.h @@ -70,7 +70,7 @@ public: // Accessors for GPIO and DShot settings gpio_num_t getGPIO() const { return _gpio; } dshot_mode_t getDShotMode() const { return _mode; } - uint8_t getFrameLenght() const { return _frameLength; } + uint16_t getFrameLenght() const { return _frameLength; } protected: // Calculates the checksum for a DShot packet