From 8fc19004c0d08e35ddb1cb03a411bc7f61e243a7 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 27 Apr 2021 14:57:38 +0200 Subject: [PATCH] move the USB test from gint to gintctl --- src/gint/usb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gint/usb.c b/src/gint/usb.c index df9f5a7..8eaea3b 100644 --- a/src/gint/usb.c +++ b/src/gint/usb.c @@ -244,8 +244,11 @@ static void draw_pipes(void) static void open_callback(void) { usb_log("Open callback, doing test!\n"); - extern void usb_tests(void); - usb_tests(); + + int pipe = 5; + usb_write_async(pipe, gint_vram, _(1024, 396*224*2), 4, false, + GINT_CALL_NULL); + usb_commit_async(pipe, GINT_CALL_NULL); } /* gintctl_gint_usb(): USB communication */