mirror of
https://github.com/synthetos/g2.git
synced 2026-09-25 16:33:38 +08:00
Minor commit
This commit is contained in:
@@ -68,12 +68,12 @@
|
||||
<com_atmel_avrdbg_tool_atmelice>
|
||||
<ToolOptions>
|
||||
<InterfaceProperties>
|
||||
<SwdClock>2000000</SwdClock>
|
||||
<SwdClock>10000000</SwdClock>
|
||||
</InterfaceProperties>
|
||||
<InterfaceName>SWD</InterfaceName>
|
||||
</ToolOptions>
|
||||
<ToolType>com.atmel.avrdbg.tool.atmelice</ToolType>
|
||||
<ToolNumber>J41800030015</ToolNumber>
|
||||
<ToolNumber>J41800036434</ToolNumber>
|
||||
<ToolName>Atmel-ICE</ToolName>
|
||||
</com_atmel_avrdbg_tool_atmelice>
|
||||
<UseGdb>True</UseGdb>
|
||||
@@ -100,7 +100,7 @@
|
||||
<HWProgramCounterSampling>True</HWProgramCounterSampling>
|
||||
</PercepioTrace>
|
||||
<preserveEEPROM>true</preserveEEPROM>
|
||||
<avrtoolserialnumber>J41800030015</avrtoolserialnumber>
|
||||
<avrtoolserialnumber>J41800036434</avrtoolserialnumber>
|
||||
<avrdeviceexpectedsignature>0x284E0A60</avrdeviceexpectedsignature>
|
||||
<avrtoolinterfaceclock>10000000</avrtoolinterfaceclock>
|
||||
<custom>
|
||||
|
||||
@@ -578,12 +578,14 @@ stat_t mp_exec_aline(mpBuf_t *bf)
|
||||
// Case (3a) - already decelerating, continue the deceleration.
|
||||
if (mr->section == SECTION_TAIL) { // if already in a tail don't decelerate. You already are
|
||||
if (fp_ZERO(mr->r->exit_velocity)) {
|
||||
// if (mr->r->exit_velocity < 1)) {
|
||||
cm->hold_state = FEEDHOLD_DECEL_TO_ZERO;
|
||||
} else {
|
||||
cm->hold_state = FEEDHOLD_DECEL_CONTINUE;
|
||||
}
|
||||
|
||||
// Case (3b) - currently accelerating - is simply skipped and waited for
|
||||
// Case (3b) - Currently accelerating - is simply skipped and waited for.
|
||||
// This is true because to do otherwise the jerk would not have returned to zero.
|
||||
// Small exception, if we *just started* the head, then we're not actually accelerating yet.
|
||||
} else if ((mr->section != SECTION_HEAD) || (mr->section_state == SECTION_NEW)) {
|
||||
mr->entry_velocity = mr->segment_velocity;
|
||||
|
||||
Reference in New Issue
Block a user