更新阈值

This commit is contained in:
sunbeam 2025-04-11 14:11:48 +08:00
parent bc6c96d906
commit 9d34c3626c
2 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@
<MemConfigValue>D:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\config\debugger\CVAChip\CVM0144.ddf</MemConfigValue> <MemConfigValue>D:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\config\debugger\CVAChip\CVM0144.ddf</MemConfigValue>
</PlDriver> </PlDriver>
<ArmDriver> <ArmDriver>
<EnableCache>0</EnableCache>
<EnforceMemoryConfiguration>1</EnforceMemoryConfiguration> <EnforceMemoryConfiguration>1</EnforceMemoryConfiguration>
<EnableCache>0</EnableCache>
</ArmDriver> </ArmDriver>
<DebugChecksum> <DebugChecksum>
<Checksum>1315671368</Checksum> <Checksum>1315671368</Checksum>

View File

@ -713,11 +713,11 @@ static uint16_t getOverCurrentTh(uint8_t ch)
case 0: case 0:
if (MotorStateReal[MotorHG]!=Motor_ACT_NOACT) if (MotorStateReal[MotorHG]!=Motor_ACT_NOACT)
{ {
th+=200; th+=150;
} }
if (MotorStateReal[MotorKB]!=Motor_ACT_NOACT) if (MotorStateReal[MotorKB]!=Motor_ACT_NOACT)
{ {
th+=100; th+=150;
} }
break; break;
case 1: case 1: