sw: outline of serial device

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-05-22 15:26:27 +08:00
parent e8aaac5cfe
commit ba8314c823
6 changed files with 41 additions and 0 deletions

View File

@ -41,6 +41,9 @@ int main(int argc, char **argv)
while (1)
{
usb_poll();
if (cdc_connected()) {
tester_poll();
}
}
return 0;
}