From 6be67b5165728dd90938d5ca22b40e8f3eb8192d Mon Sep 17 00:00:00 2001 From: willem Date: Tue, 9 Jul 2024 13:16:15 +0200 Subject: [PATCH] update deadband --- RC excavator/FW/src/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RC excavator/FW/src/controller.cpp b/RC excavator/FW/src/controller.cpp index e651ad2..b3141a3 100644 --- a/RC excavator/FW/src/controller.cpp +++ b/RC excavator/FW/src/controller.cpp @@ -5,7 +5,7 @@ uint32_t lastcontrollernotify = 0; uint16_t joymax = 0; uint16_t trgmax = 0; -#define deadband 10000 +#define deadband 20000 #define trgdeadband 200 direction getdirectionJoy(int setpoint)