fixed USBDP pullup in Multistepper (it works always, so you can use DFU)

This commit is contained in:
Edward Emelianov
2023-02-06 20:05:45 +03:00
parent 756ed4be08
commit daf17a651e
54 changed files with 12332 additions and 9328 deletions

View File

@@ -76,6 +76,9 @@ int main(void){
}
int l = USB_receivestr(inbuff, MAXSTRLEN);
if(l < 0) USB_sendstr("ERROR: USB buffer overflow or string was too long\n");
else if(l) cmd_parser(inbuff);
else if(l){
const char *ans = cmd_parser(inbuff);
if(ans) USB_sendstr(ans);
}
}
}