From: EMC C. s. <cv...@cv...> - 2006-05-01 07:05:49
|
Modified file emc2/src/hal/components/stepgen.c Full file: <http://cvs.linuxcnc.org/cvs/emc2/src/hal/components/stepgen.c?rev=1.28> Difference: <http://cvs.linuxcnc.org/cvs/emc2/src/hal/components/stepgen.c.diff?r1=1.27;r2=1.28> Branch: HEAD Log: revision 1.28 date: 2006/05/01 07:05:45; author: jmkasunich; state: Exp; lines: +3 -3 one more try, array params for kernel 2.4 --- stepgen.c 2006/05/01 06:18:54 1.27 +++ stepgen.c 2006/05/01 07:05:45 1.28 @@ -9,9 +9,9 @@ * Copyright (c) 2003 All rights reserved. * * Last change: -# $Revision: 1.27 $ +# $Revision: 1.28 $ * $Author: jmkasunich $ -* $Date: 2006/05/01 06:18:54 $ +* $Date: 2006/05/01 07:05:45 $ ********************************************************************/ /** This file, 'stepgen.c', is a HAL component that provides software based step pulse generation. The maximum step rate will depend @@ -305,7 +305,7 @@ MODULE_LICENSE("GPL"); #endif /* MODULE_LICENSE */ int step_type[MAX_CHAN] = { -1, -1, -1, -1, -1, -1, -1, -1 }; -RTAPI_MP_ARRAY_INT(step_type,"stepping types for up to 8 channels"); +RTAPI_MP_ARRAY_INT(step_type,MAX_CHAN,"stepping types for up to 8 channels"); static long period = 0; /* non-FP thread period, default = none */ RTAPI_MP_LONG(period, "non-FP thread period (nsecs)"); static long fp_period = 0; /* FP thread period, default = none */ |