fix wanings

This commit is contained in:
hathach
2025-03-25 17:36:15 +07:00
parent 65e01fff2e
commit 99673cdbb8
8 changed files with 16 additions and 30 deletions

View File

@@ -165,8 +165,7 @@ static void process_kbd_report(hid_keyboard_report_t const *report)
// Mouse
//--------------------------------------------------------------------+
void cursor_movement(int8_t x, int8_t y, int8_t wheel)
{
static void cursor_movement(int8_t x, int8_t y, int8_t wheel) {
#if USE_ANSI_ESCAPE
// Move X using ansi escape
if ( x < 0)