diff options
Diffstat (limited to 'libs/surfaces/frontier/kernel_drivers/tests/tranzport.c')
-rw-r--r-- | libs/surfaces/frontier/kernel_drivers/tests/tranzport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/frontier/kernel_drivers/tests/tranzport.c b/libs/surfaces/frontier/kernel_drivers/tests/tranzport.c index 96bc3f95ef..480c49c7b6 100644 --- a/libs/surfaces/frontier/kernel_drivers/tests/tranzport.c +++ b/libs/surfaces/frontier/kernel_drivers/tests/tranzport.c @@ -110,7 +110,7 @@ tranzport_t *open_tranzport_core() tranzport_t *open_tranzport() { -return open_tranzport_core(); +return open_tranzport_core(); } void close_tranzport(tranzport_t *z) @@ -191,7 +191,7 @@ int tranzport_read(tranzport_t *z, uint8_t *status, uint32_t *buttons, uint8_t * { uint8_t buf[8]; int val; - + memset(buf, 0xff, 8); val = read(z->udev, buf, 8); if (val < 0) { |