Skip to content

Commit

Permalink
!2 【修复】FreeModbus从机读离散输入一处宏错误。
Browse files Browse the repository at this point in the history
Merge pull request !2 from 向秋林/N/A
  • Loading branch information
armink authored and gitee-org committed May 11, 2020
2 parents 2fb1a88 + a0b9fcc commit 84d789d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FreeModbus/modbus/functions/mbfuncdisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ eMBException prveMBError2Exception( eMBErrorCode eErrorCode );

/* ----------------------- Start implementation -----------------------------*/

#if MB_FUNC_READ_COILS_ENABLED > 0
#if MB_FUNC_READ_DISCRETE_INPUTS_ENABLED > 0

eMBException
eMBFuncReadDiscreteInputs( UCHAR * pucFrame, USHORT * usLen )
Expand Down

0 comments on commit 84d789d

Please sign in to comment.