main: poll dfu in main loop

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-04-05 15:10:19 +08:00
parent 7bcc8529d6
commit 7d091a72b9

View File

@ -94,7 +94,7 @@ int main(int argc, char **argv)
while (1)
{
usb_poll(NULL);
dfu_poll();
// if (i > 200)
// reboot_ctrl_write(0xac);
}