From 7d091a72b9b4497671912be7de0d498c1a81f91c Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Fri, 5 Apr 2019 15:10:19 +0800 Subject: [PATCH] main: poll dfu in main loop Signed-off-by: Sean Cross --- sw/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/src/main.c b/sw/src/main.c index a6c37e4..8610b66 100644 --- a/sw/src/main.c +++ b/sw/src/main.c @@ -94,7 +94,7 @@ int main(int argc, char **argv) while (1) { usb_poll(NULL); - + dfu_poll(); // if (i > 200) // reboot_ctrl_write(0xac); }