From 9fe77e4e41085dca1c1df26088ccb054a98bdc19 Mon Sep 17 00:00:00 2001 From: maddiebaka Date: Thu, 12 Mar 2026 11:10:57 -0400 Subject: [PATCH] Adjust Kconfig values for new CYD variant --- main/Kconfig | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main/Kconfig b/main/Kconfig index 88df847..7b44c02 100644 --- a/main/Kconfig +++ b/main/Kconfig @@ -1,12 +1,12 @@ menu "Pin Mapping Configuration" config ESC_CTRL_PIN int "ESC control GPIO pin" - default 22 + default 18 help This is the pin used for sending DSHOT packets to the ESC. config TELEMETRY_RX_PIN int "ESC telemetry uart rx pin" - default 27 + default 19 help This is the pin used for receiving UART telemetry from the ESC. config TFT_MISO @@ -39,7 +39,13 @@ menu "Pin Mapping Configuration" default 21 help This is the pin for backlight control on the SPI LCD. - + + config MOTOR_POLECOUNT + int "Pole count of motor driven by ESC" + default 6 + help + This is the number of magnetic poles on your motor, which is used to calculate actual RPM + from electrical RPM. config TOUCH_IRQ int "SPI touchscreen IRQ pin"