feat(haptic): regler l'intensite des vibrations a 50% par defaut

- 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
This commit is contained in:
bleackstorm committed 2026-11-13 18:07:20 +01:00
1 parent ebd4fd41df
commit d051af29ed
1 file changed
+2 -2
+2 -2
View File
@@ -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;