Swapped forward and backwards on scroll made scroll larger
This commit is contained in:
@@ -343,9 +343,20 @@ static void can_task(void* params) {
|
|||||||
int8_t diff = buttons.scroll - scroll;
|
int8_t diff = buttons.scroll - scroll;
|
||||||
|
|
||||||
if (diff < 0) {
|
if (diff < 0) {
|
||||||
avrcp::seek_backward();
|
// 6 times to skip 6x5s = 30s
|
||||||
} else {
|
|
||||||
avrcp::seek_forward();
|
avrcp::seek_forward();
|
||||||
|
avrcp::seek_forward();
|
||||||
|
avrcp::seek_forward();
|
||||||
|
avrcp::seek_forward();
|
||||||
|
avrcp::seek_forward();
|
||||||
|
avrcp::seek_forward();
|
||||||
|
} else {
|
||||||
|
avrcp::seek_backward();
|
||||||
|
avrcp::seek_backward();
|
||||||
|
avrcp::seek_backward();
|
||||||
|
avrcp::seek_backward();
|
||||||
|
avrcp::seek_backward();
|
||||||
|
avrcp::seek_backward();
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll = buttons.scroll;
|
scroll = buttons.scroll;
|
||||||
|
|||||||
Reference in New Issue
Block a user