vmware: initialize vmware_mouse_byte or it resolves incorrectly by linker

This commit is contained in:
K. Lange 2020-04-24 21:53:20 +09:00
parent 22ded9bdce
commit 046ec9538f

View File

@ -140,7 +140,7 @@ static void mouse_absolute(void) {
vmware_send(&cmd);
}
volatile int8_t vmware_mouse_byte;
volatile int8_t vmware_mouse_byte = 0;
static void vmware_mouse(void) {
/* unused, but we need to read the fake mouse event bytes from the PS/2 device. */