diff --git a/README b/README index 7328e500..9424dafe 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ This is Rev.2.0 of MAX3421E-based USB Host Library for Arduino. At the moment, this repo contains current development copy -of the code facilitating developer's exchange. For those not involved in the project, the code in its' current state doesn't bear any value. +of the code facilitating developer's exchange. For those not involved in the project, the code in its current state doesn't bear any value. In other words, nothing works yet. The code uses slightly modified Konstantin Chizhov's AVR pin templates, see the original here -> https://github.com/KonstantinChizhov/AvrProjects \ No newline at end of file diff --git a/Usb.h b/Usb.h index 0f054621..95854700 100644 --- a/Usb.h +++ b/Usb.h @@ -134,8 +134,8 @@ public: }; -typedef MAX3421e MAX3421E; // Black Widdow -//typedef MAX3421e MAX3421E; // Duemielanove +//typedef MAX3421e MAX3421E; // Black Widdow +typedef MAX3421e MAX3421E; // Duemielanove class USB : public MAX3421E { diff --git a/cdcacm.cpp b/cdcacm.cpp index b911dda2..c0c254da 100644 --- a/cdcacm.cpp +++ b/cdcacm.cpp @@ -249,7 +249,8 @@ uint8_t ACM::Poll() for (uint8_t i=0; i epInfo[epInterruptInIndex].maxPktSize) + ? epInfo[epInterruptInIndex].maxPktSize : constBufSize; rcode = pUsb->inTransfer(bAddress, epInfo[epInterruptInIndex].epAddr, &read, buf); if (rcode)