diff options
Diffstat (limited to 'apps/include/modbus/mbproto.h')
-rw-r--r-- | apps/include/modbus/mbproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/include/modbus/mbproto.h b/apps/include/modbus/mbproto.h index 786aaf403..24b0c98e7 100644 --- a/apps/include/modbus/mbproto.h +++ b/apps/include/modbus/mbproto.h @@ -69,11 +69,11 @@ PR_BEGIN_EXTERN_C MB_EX_GATEWAY_TGT_FAILED = 0x0B } eMBException; -typedef eMBException( *pxMBFunctionHandler ) ( UCHAR * pucFrame, USHORT * pusLength ); +typedef eMBException( *pxMBFunctionHandler ) ( uint8_t * pucFrame, uint16_t * pusLength ); typedef struct { - UCHAR ucFunctionCode; + uint8_t ucFunctionCode; pxMBFunctionHandler pxHandler; } xMBFunctionHandler; |