mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 23:05:12 +03:00
Haptic 0,1,2,3
This commit is contained in:
parent
2eeedf6c55
commit
0d4911a0d4
1 changed files with 125 additions and 124 deletions
|
@ -116,7 +116,8 @@ void hapticQueue::event(uint8_t e)
|
|||
else if (e < AU_FRSKY_FIRST)
|
||||
play(15, 3, (e-AU_TIMER_10)|PLAY_NOW);
|
||||
else if (e >= AU_FRSKY_LAST && empty()) {
|
||||
play(15, 3, e-AU_FRSKY_LAST);
|
||||
play(30, 10, 0);
|
||||
play(10,50-10*(e-AU_FRSKY_LAST),(e-AU_FRSKY_LAST));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue