Replace wrong trigger EffectType

This commit is contained in:
Albrecht Nitsche 2022-12-12 01:45:38 +01:00 committed by GitHub
parent 39ab2a6944
commit 5e2a41dee5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ public:
* @param frequency Vibration frequency of the trigger
*/
void setTriggerForceEffect(uint8_t start, bool keep, uint8_t begin_force, uint8_t mid_force, uint8_t end_force, uint8_t frequency) {
data.effectType = EffectType::SectionResitance;
data.effectType = EffectType::EffectEx;
data.EffectEx.startPosition = start;
data.EffectEx.keepEffect = keep;
data.EffectEx.beginForce = begin_force;