Fixed warnings in the VISO and Wacom Tablet codes.

This commit is contained in:
OBattler
2023-06-11 14:00:18 +02:00
parent 058b15cc5e
commit eb4c9f3e40
2 changed files with 8 additions and 1 deletions

View File

@@ -134,6 +134,8 @@ typedef struct {
serial_t *serial;
} mouse_wacom_t;
/* TODO: What is this needed for? */
#if 0
static unsigned int
reverse(register unsigned int x)
{
@@ -143,6 +145,7 @@ reverse(register unsigned int x)
x = (((x & 0xff00ff00) >> 8) | ((x & 0x00ff00ff) << 8));
return ((x >> 16) | (x << 16));
}
#endif
static double
wacom_transmit_period(mouse_wacom_t *dev, int bps, int rps)