Обе лампы могут управляться по CAN
This commit is contained in:
@@ -60,6 +60,7 @@ void main()
|
||||
int i,j,n,z,mask,qua;
|
||||
static int rscount, cancount[2]={1,2},cancell[2]={0,0},candid[2]={0,0};
|
||||
static unsigned int masca[8], presbyt;
|
||||
static int precom=0;
|
||||
|
||||
RS_DATA * rs;
|
||||
|
||||
@@ -123,6 +124,8 @@ void main()
|
||||
CanRound[i]=
|
||||
CanCycle[i]=0;
|
||||
|
||||
comand=0;
|
||||
|
||||
EALLOW;
|
||||
SysCtrlRegs.WDCR= 0x2F;
|
||||
EDIS;
|
||||
@@ -245,6 +248,10 @@ void main()
|
||||
|
||||
get_Buttons();
|
||||
|
||||
if(Commands!=precom)
|
||||
comand = Commands & (~precom|comand);
|
||||
precom = Commands;
|
||||
|
||||
if(cDefParam)
|
||||
{
|
||||
cDefParam=0;
|
||||
|
||||
Reference in New Issue
Block a user