Исправлена автокалибровка
This commit is contained in:
@@ -115,6 +115,7 @@ void main()
|
||||
|
||||
LastMode = Mode;
|
||||
Protokol = PROTOKOL;
|
||||
precom = Commands;
|
||||
|
||||
for(i=0;i<0x80;i++)
|
||||
county[i]=1;
|
||||
@@ -124,8 +125,6 @@ void main()
|
||||
CanRound[i]=
|
||||
CanCycle[i]=0;
|
||||
|
||||
comand=0;
|
||||
|
||||
EALLOW;
|
||||
SysCtrlRegs.WDCR= 0x2F;
|
||||
EDIS;
|
||||
@@ -249,13 +248,14 @@ void main()
|
||||
get_Buttons();
|
||||
|
||||
if(Commands!=precom)
|
||||
comand = Commands & (~precom|comand);
|
||||
komanda = Commands & (~precom|komanda);
|
||||
precom = Commands;
|
||||
|
||||
|
||||
if(cDefParam)
|
||||
{
|
||||
cDefParam=0;
|
||||
Default_params();
|
||||
Commands=precom;
|
||||
}
|
||||
|
||||
if(cSaveParam)
|
||||
@@ -268,6 +268,7 @@ void main()
|
||||
{
|
||||
cLoadParam=0;
|
||||
Load_params();
|
||||
Commands=precom;
|
||||
}
|
||||
|
||||
if(cKoefCalc)
|
||||
|
||||
Reference in New Issue
Block a user