mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
Last fix to the USB module, ready to ship.
This commit is contained in:
parent
9fbcd7edaf
commit
ca534d4e34
2 changed files with 3 additions and 3 deletions
|
@ -416,8 +416,7 @@ void usb_ep1_transmit()
|
|||
|
||||
if(bufbytes>USB_DATASIZE) {
|
||||
bufbytes=USB_DATASIZE; // DON'T SEND MORE THAN ONE PACKET AT A TIME
|
||||
__usb_drvstatus|=USB_STATUS_NOWAIT; // THERE COULD BE MORE DATA, DON'T SLEEP UNTIL ALL DATA IS RETRIEVED
|
||||
} else __usb_drvstatus&=~USB_STATUS_NOWAIT; // SLOW DOWN, THIS IS THE LAST PACKET
|
||||
}
|
||||
|
||||
|
||||
// CHECK IF THESE ARE THE LAST FEW BYTES OF THE FILE
|
||||
|
|
|
@ -85,8 +85,9 @@ int compileobject()
|
|||
strsize=rplStrSize(rplPeekData(1));
|
||||
|
||||
WORDPTR newobj=rplCompile(strdata,strsize,0);
|
||||
if(!newobj) { rplBlameError(CMD_FROMSTR); return 0; }
|
||||
if(!newobj) { rplBlameError(0); return 0; }
|
||||
rplOverwriteData(1,newobj);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue