mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Haptic events
This commit is contained in:
parent
65c6dddf98
commit
82dbdb523b
2 changed files with 3 additions and 1 deletions
|
@ -115,6 +115,8 @@ void hapticQueue::event(uint8_t e)
|
|||
play(15, 3, PLAY_NOW);
|
||||
else if (e < AU_FRSKY_FIRST)
|
||||
play(15, 3, (e-AU_TIMER_10)|PLAY_NOW);
|
||||
else if (e >= AU_FRSKY_LAST)
|
||||
play(15, 3, e-AU_FRSKY_LAST);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue