part of monstermerge..

This commit is contained in:
iceman1001 committed 2017-07-27 20:58:59 +02:00
1 parent 6519ae6f88
commit a8569849d6
14 files changed
+2705 -1773

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
bool cmd_receive(UsbCommand* cmd) {
// Check if there is a usb packet available
if (!usb_poll()) return false;
if (!usb_poll_validate_length()) return false;
// Try to retrieve the available command frame
size_t rxlen = usb_read((byte_t*)cmd,sizeof(UsbCommand));