diff options
Diffstat (limited to 'apps/include/modbus/mbframe.h')
-rw-r--r-- | apps/include/modbus/mbframe.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/include/modbus/mbframe.h b/apps/include/modbus/mbframe.h index 99d59c613..0f701e6e5 100644 --- a/apps/include/modbus/mbframe.h +++ b/apps/include/modbus/mbframe.h @@ -71,13 +71,13 @@ typedef void ( *pvMBFrameStart ) ( void ); typedef void ( *pvMBFrameStop ) ( void ); -typedef eMBErrorCode( *peMBFrameReceive ) ( UCHAR * pucRcvAddress, - UCHAR ** pucFrame, - USHORT * pusLength ); +typedef eMBErrorCode( *peMBFrameReceive ) ( uint8_t * pucRcvAddress, + uint8_t ** pucFrame, + uint16_t * pusLength ); -typedef eMBErrorCode( *peMBFrameSend ) ( UCHAR slaveAddress, - const UCHAR * pucFrame, - USHORT usLength ); +typedef eMBErrorCode( *peMBFrameSend ) ( uint8_t slaveAddress, + const uint8_t * pucFrame, + uint16_t usLength ); typedef void( *pvMBFrameClose ) ( void ); |