Commit d4a64321 authored by claes's avatar claes

Bugfix

parent c5b97ebb
/* /*
* Proview $Id: rt_io_m_mb_tcp_slave.c,v 1.1 2008-02-29 08:01:07 claes Exp $ * Proview $Id: rt_io_m_mb_tcp_slave.c,v 1.2 2008-03-27 09:58:50 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -436,8 +436,6 @@ static pwr_tStatus IoRackInit ( ...@@ -436,8 +436,6 @@ static pwr_tStatus IoRackInit (
if (sts < 0) { if (sts < 0) {
op->Status = MB__INITFAIL; op->Status = MB__INITFAIL;
/* Slave error should not cause I/O error */
return IO__SUCCESS;
} else { } else {
op->Status = MB__NORMAL; op->Status = MB__NORMAL;
} }
...@@ -600,8 +598,6 @@ static pwr_tStatus IoRackInit ( ...@@ -600,8 +598,6 @@ static pwr_tStatus IoRackInit (
local->input_size = input_counter + card_input_counter + latent_input_counter; local->input_size = input_counter + card_input_counter + latent_input_counter;
local->output_size = output_counter + card_output_counter + latent_output_counter; local->output_size = output_counter + card_output_counter + latent_output_counter;
op->Status = MB__NORMAL;
return IO__SUCCESS; return IO__SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment