Skip to content

Commit 63a1772

Browse files
max input+output size correted
1 parent ad1e9e0 commit 63a1772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sources/PacketHandlerPNS.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ long SetConfigParams( void* pvPck, uint16_t usDeviceClass )
8282
ptSetConfig->ulWdgTime = 1000; /* Watchdog time (in milliseconds) */
8383
ptSetConfig->ulVendorId = 0x011E; /* Vendor ID */
8484
ptSetConfig->ulMaxAr = 0; /* Currently not used */
85-
ptSetConfig->ulCompleteInputSize = sizeof(APP_INPUT_DATA_T); /* Maximum amount of allowed input data */
86-
ptSetConfig->ulCompleteOutputSize = sizeof(APP_OUTPUT_DATA_T); /* Maximum amount of allowed output data */
85+
ptSetConfig->ulCompleteInputSize = sizeof(APP_OUTPUT_DATA_T); /* Maximum amount of allowed input(received) data */
86+
ptSetConfig->ulCompleteOutputSize = sizeof(APP_INPUT_DATA_T); /* Maximum amount of allowed output(sent) data */
8787

8888

8989
if (usDeviceClass == RCX_HW_DEV_CLASS_CHIP_NETX_51)

0 commit comments

Comments
 (0)