some dummy files in order to keep folder structure ok when compiling..

removed some comments
This commit is contained in:
iceman1001 2017-07-27 21:19:39 +02:00
commit 5222785d69
4 changed files with 1 additions and 274 deletions

View file

@ -53,8 +53,7 @@ void ReceiveCommand(UsbCommand* rxcmd) {
byte_t* prx = prxcmd;
size_t rxlen;
while (true) {
rxlen = sizeof(UsbCommand) - (prx-prxcmd);
if (uart_receive(sp,prx,&rxlen)) {
if (uart_receive(sp, prx, sizeof(UsbCommand) - (prx-prxcmd), &rxlen)) {
prx += rxlen;
if ((prx-prxcmd) >= sizeof(UsbCommand)) {
return;