修复堵转问题
This commit is contained in:
parent
96005eac19
commit
787e55c17b
File diff suppressed because one or more lines are too long
@ -499,7 +499,7 @@ void CurrentDetecte(void)
|
|||||||
current2 = getAdval(ADCH_RLY1);
|
current2 = getAdval(ADCH_RLY1);
|
||||||
|
|
||||||
|
|
||||||
if (current1 > getOCval && OC1flag == 0)//实测1A->0.14V->28AD
|
if (current1 > getOCval() && OC1flag == 0)//实测1A->0.14V->28AD
|
||||||
{
|
{
|
||||||
OC_Count1++;
|
OC_Count1++;
|
||||||
if (OC_Count1 >= 300)
|
if (OC_Count1 >= 300)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user