Haptic 0,1,2,3
This commit is contained in:
+2
-1
@@ -116,7 +116,8 @@ void hapticQueue::event(uint8_t e)
|
|||||||
else if (e < AU_FRSKY_FIRST)
|
else if (e < AU_FRSKY_FIRST)
|
||||||
play(15, 3, (e-AU_TIMER_10)|PLAY_NOW);
|
play(15, 3, (e-AU_TIMER_10)|PLAY_NOW);
|
||||||
else if (e >= AU_FRSKY_LAST && empty()) {
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user