summaryrefslogtreecommitdiff
path: root/libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c')
-rw-r--r--libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c b/libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c
index 4096ee680d..f116c50a74 100644
--- a/libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c
+++ b/libs/surfaces/frontier/kernel_drivers/tests/tranzport_lights.c
@@ -109,7 +109,7 @@ tranzport_t *open_tranzport_core()
tranzport_t *open_tranzport()
{
-return open_tranzport_core();
+return open_tranzport_core();
}
void close_tranzport(tranzport_t *z)
@@ -190,7 +190,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) {