From d051af29ed4439c6af89f3ff384d3da4cefae2dd Mon Sep 17 00:00:00 2001 From: bleackstorm <49142331+bleackstorm@users.noreply.github.com> Date: Fri, 13 Nov 2026 18:07:20 +0100 Subject: [PATCH] feat(haptic): regler l'intensite des vibrations a 50% par defaut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Modifie VIBRATION_DEFAUT de 100% à 50% - Met à jour MAGIC_NUMBER_CONFIG (0x4A) pour appliquer immédiatement la nouvelle valeur par défaut en mémoire Flash --- g29_crsf.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g29_crsf.ino b/g29_crsf.ino index 105cbeb..467ce89 100644 --- a/g29_crsf.ino +++ b/g29_crsf.ino @@ -66,8 +66,8 @@ const uint16_t GAZ_AVANT_MAX_PAR_VITESSE[3] = { #define FORCE_RESSORT_DEFAUT 140 // Force du retour au centre : 0 a 255 #define PENTE_RESSORT_G29 7 // Raideur autour du centre : 1 a 7 #define ETAPES_INIT_FFB_TOTAL 2 // Nombre d'etapes d'init FFB (0=Range, 1=Spring) -#define VIBRATION_DEFAUT 100 // Intensite par defaut des vibrations (0 a 100%) -#define MAGIC_NUMBER_CONFIG 0x49 // Identifiant de validite en EEPROM (mis a jour pour 240 degres) +#define VIBRATION_DEFAUT 50 // Intensite par defaut des vibrations (0 a 100%) +#define MAGIC_NUMBER_CONFIG 0x4A // Identifiant de validite en EEPROM (mis a jour pour 50% vibrations) Adafruit_NeoPixel rgb_led(NUM_PIXELS, PIN_LED_RGB, NEO_GRB + NEO_KHZ800); Adafruit_USBH_Host USBHost;