*/\r
\r
// The firmware version should be regularly updated.\r
-#define FWVERSION "4.1.0"\r
+#define FWVERSION "4.2.0"\r
\r
#include "isr.h"\r
#include "timer.h"\r
\r
if(!(EP2468STAT & bmEP2EMPTY) && (Pending < OUTBUFFER_LEN-0x3F))\r
{\r
- BYTE i, n = EP2BCL;\r
+ WORD i, n = EP2BCL|EP2BCH<<8;\r
\r
APTR1H = MSB( EP2FIFOBUF );\r
APTR1L = LSB( EP2FIFOBUF );\r
{\r
if(ClockBytes > 0)\r
{\r
- BYTE m;\r
+ WORD m;\r
\r
m = n-i;\r
if(ClockBytes < m) m = ClockBytes;\r