Fix modbus compile error if CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED is enabled
This commit is contained in:
parent
95ea63cd10
commit
21a33d9b7a
0
ChangeLog.txt
Executable file → Normal file
0
ChangeLog.txt
Executable file → Normal file
@ -62,7 +62,7 @@ eMBException prveMBError2Exception(eMBErrorCode eErrorCode);
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_MB_FUNC_READ_COILS_ENABLED
|
||||
#ifdef CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED
|
||||
eMBException eMBFuncReadDiscreteInputs(uint8_t *pucFrame, uint16_t *usLen)
|
||||
{
|
||||
uint16_t usRegAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user