1
0
Fork 0
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:
gbirkus@gmail.com 2012-05-04 10:24:04 +00:00
parent 2eeedf6c55
commit 0d4911a0d4

View file

@ -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));
}
}
}