Skip to content

Commit

Permalink
fix compile warnings (pikvm#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
No0ne authored Jul 27, 2024
1 parent 8ef1545 commit f644a70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hid/pico/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endef
.tinyusb:
$(call libdep,tinyusb,hathach/tinyusb,d713571cd44f05d2fc72efc09c670787b74106e0)
.ps2x2pico:
$(call libdep,ps2x2pico,No0ne/ps2x2pico,27c9bcede3370f0d4fdefea9c86a0eeb6170cf77)
$(call libdep,ps2x2pico,No0ne/ps2x2pico,4c39fcf97738d1a0ba6bf93843f3f45f7cdf01d7)
deps: .pico-sdk .tinyusb .ps2x2pico


Expand Down
1 change: 1 addition & 0 deletions hid/pico/src/ph_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ void ph_ps2_mouse_send_rel(s8 x, s8 y) {

void ph_ps2_mouse_send_wheel(s8 h, s8 v) {
if (PH_O_IS_MOUSE_PS2) {
(void)h; // as far as I know there is no standard way for horizontal scrolling
ms_send_movement(ph_ps2_mouse_buttons, 0, 0, v);
}
}
Expand Down

0 comments on commit f644a70

Please sign in to comment.