mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 06:25:16 +00:00
Fix modbus compile error if CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED is enabled
This commit is contained in:
parent
95ea63cd10
commit
21a33d9b7a
2 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue