aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/Source/c_cmd.c')
-rw-r--r--AT91SAM7S256/Source/c_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/AT91SAM7S256/Source/c_cmd.c b/AT91SAM7S256/Source/c_cmd.c
index 9253735..7e48993 100644
--- a/AT91SAM7S256/Source/c_cmd.c
+++ b/AT91SAM7S256/Source/c_cmd.c
@@ -4521,8 +4521,8 @@ afterCompaction:
else if (Status == CLUMP_SUSPEND || Status == BREAKOUT_REQ || Status == ROTATE_QUEUE) // already requeued
{
pClumpRec->PC = pInstr + gPCDelta;
- //Throw error if we ever advance beyond the clump's codespace
- if (pInstr > lastClumpInstr)
+ //Throw error if we ever advance beyond the clump's codespace
+ if (pInstr > lastClumpInstr)
{
NXT_BREAK;
Status = ERR_INSTR;
@@ -4699,7 +4699,7 @@ NXT_STATUS cCmdInterpUnop1(CODE_WORD * const pCode)
case OP_STARTCLUMPIMMED:
{
CLUMP_ID Clump = (CLUMP_ID)Arg1;
- // only enqueue the clump if it is not already on the run queue
+ // only enqueue the clump if it is not already on one of the queues
// otherwise this is a no-op
if (!cCmdIsClumpOnQ(&(VarsCmd.RunQ), Clump) &&
!cCmdIsClumpOnQ(&(VarsCmd.RestQ), Clump) &&