Skip to content

Commit

Permalink
【修复】FreeModbus从机读离散输入一处宏错误。
Browse files Browse the repository at this point in the history
  • Loading branch information
向秋林 authored and gitee-org committed Apr 30, 2020
1 parent 2fb1a88 commit a0b9fcc
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 a0b9fcc

Please sign in to comment.