lt better than exact if

This commit is contained in:
Petr Kracik 2019-12-12 18:21:41 +01:00
parent 475d57d472
commit 0982a1efd4
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 830B43F489EB7037

View File

@ -89,7 +89,7 @@ void amigaYpulse(int8_t count) {
else {
mouseYTableIndex--;
if (mouseYTableIndex == -1) {
if (mouseYTableIndex < 0) {
mouseYTableIndex = 3;
}
}
@ -119,7 +119,7 @@ void amigaXpulse(int8_t count) {
else {
mouseXTableIndex--;
if (mouseXTableIndex == -1) {
if (mouseXTableIndex < 0) {
mouseXTableIndex = 3;
}
}