Changed the data type of the MS/TP index for the receiving byte to allow an APDU of 480 bytes.

This commit is contained in:
skarg
2009-02-16 18:53:15 +00:00
parent e35cabd91d
commit a42b63d5c7
4 changed files with 70 additions and 70 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ struct mstp_port_struct_t {
uint8_t HeaderCRCActual;
/* Used as an index by the Receive State Machine, up to a maximum value of */
/* InputBufferSize. */
unsigned Index;
uint16_t Index;
/* An array of octets, used to store octets as they are received. */
/* InputBuffer is indexed from 0 to InputBufferSize-1. */
/* The maximum size of a frame is 501 octets. */