move the USB test from gint to gintctl

This commit is contained in:
Lephenixnoir 2021-04-27 14:57:38 +02:00
parent a088ab503f
commit 8fc19004c0
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 5 additions and 2 deletions

View File

@ -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 */