Commit d0384dce authored by claes's avatar claes

Allow scantime less than 20 ms

parent 51a64027
...@@ -4237,7 +4237,7 @@ static int gcg_get_child_plcthread( ...@@ -4237,7 +4237,7 @@ static int gcg_get_child_plcthread(
timebase = (*scantime_ptr) * 1000 + 0.5; timebase = (*scantime_ptr) * 1000 + 0.5;
if ( (timebase <= 0) if ( (timebase <= 0)
|| (IS_LYNX(os) && (((timebase / 10) * 10) != timebase)) || (IS_LYNX(os) && (((timebase / 10) * 10) != timebase))
|| (IS_LINUX(os) && (((timebase / 10) * 10) != timebase)) || (IS_LINUX(os) && 0 /* (((timebase / 10) * 10) != timebase) */)
|| (IS_VMS_OR_ELN(os) && (((timebase / 10) * 10) != timebase)) || (IS_VMS_OR_ELN(os) && (((timebase / 10) * 10) != timebase))
) )
{ {
......
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