Commit 77a896f7 authored by claes's avatar claes

Bugfix for 16 channels card

parent dc7006f2
/*
* Proview $Id: rt_io_m_do_hvdo32.c,v 1.6 2007-04-30 12:08:08 claes Exp $
* Proview $Id: rt_io_m_do_hvdo32.c,v 1.7 2008-10-03 14:29:32 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -157,6 +157,9 @@ static pwr_tStatus IoCardWrite (
for ( i = 0; i < 2; i++)
{
if ( i == 1 && op->MaxNoOfChannels <= 16)
break;
if ( ctx->Node->EmergBreakTrue && ctx->Node->EmergBreakSelect == FIXOUT)
{
if ( i == 0)
......
/*
* Proview $Id: rt_io_m_ssab_do.c,v 1.5 2007-05-18 12:06:05 claes Exp $
* Proview $Id: rt_io_m_ssab_do.c,v 1.6 2008-10-03 14:29:32 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -158,6 +158,9 @@ static pwr_tStatus IoCardWrite (
for ( i = 0; i < 2; i++)
{
if ( i == 1 && op->MaxNoOfChannels <= 16)
break;
if ( ctx->Node->EmergBreakTrue && ctx->Node->EmergBreakSelect == FIXOUT)
{
if ( i == 0)
......
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