Fix modbus compile error if CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED is enabled

This commit is contained in:
Stefan Kolb 2015-09-24 06:38:07 -06:00 committed by Gregory Nutt
parent 95ea63cd10
commit 21a33d9b7a
2 changed files with 1 additions and 1 deletions

0
ChangeLog.txt Executable file → Normal file
View File

View 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;