Disable ISAPnP logging

This commit is contained in:
RichardG867
2021-06-03 16:02:15 -03:00
parent 62afe31757
commit 2b692640e1
2 changed files with 2 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ static const uint8_t pnp_init_key[32] = { 0x6A, 0xB5, 0xDA, 0xED, 0xF6, 0xFB, 0x
0xE8, 0x74, 0x3A, 0x9D, 0xCE, 0xE7, 0x73, 0x39 };
static const device_t isapnp_device;
#define ENABLE_ISAPNP_LOG 1
#ifdef ENABLE_ISAPNP_LOG
int isapnp_do_log = ENABLE_ISAPNP_LOG;

View File

@@ -272,6 +272,7 @@ timer_over(void *priv)
axis->joystick->state &= ~(1 << axis->axis_nr);
/* Notify the joystick when the first axis' period is finished. */
if (axis == &axis->joystick->axis[0])
axis->joystick->intf->a0_over(axis->joystick->dat);
}