From 4ccdbdadabcea292450475f12019b554d21e85a4 Mon Sep 17 00:00:00 2001 From: Fisch Date: Tue, 12 Apr 2022 16:27:20 +0200 Subject: [PATCH] make hoverbrett more responsive --- Inc/config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Inc/config.h b/Inc/config.h index 5ce195c..0c5b6fa 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -13,13 +13,15 @@ pio run -t upload */ //Select the calibration values for the different pcbs -#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button +//#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button //#define BOBBYCAR_PCB_REAR //Blue PCB. with XT60-U, beige programming cable. inner power button -//#define HOVERBRETT //Green PCB in Hoverbrett +#define HOVERBRETT //Green PCB in Hoverbrett #if defined(HOVERBRETT) #define INVERT_R_DIRECTION // Invert right motor #define INVERT_L_DIRECTION // Invert left motor + + #define FILTER 13107 // 0.2f #endif #include "stm32f1xx_hal.h"