diff --git a/modbus/mb.c b/modbus/mb.c index be7c132..d835433 100644 --- a/modbus/mb.c +++ b/modbus/mb.c @@ -407,5 +407,5 @@ eMBPoll( void ) break; } } - return MB_ENOERR; + return eStatus; }