mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
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:
1 parent
ebd4fd41df
commit
d051af29ed
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user