Skip to content

Commit 891dcdf

Browse files
Fix typos in comments for the AT91SAM7S port (#695)
Co-authored-by: RichardBarry <[email protected]>
1 parent 788f8cf commit 891dcdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

portable/GCC/ARM7_AT91SAM7S/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ AT91PS_PITC pxPIT = AT91C_BASE_PITC;
204204
/* Configure the PIT period. */
205205
pxPIT->PITC_PIMR = portPIT_ENABLE | portPIT_INT_ENABLE | portPIT_COUNTER_VALUE;
206206

207-
/* Enable the interrupt. Global interrupts are disables at this point so
207+
/* Enable the interrupt. Global interrupts are disabled at this point so
208208
this is safe. */
209209
AT91C_BASE_AIC->AIC_IECR = 0x1 << AT91C_ID_SYS;
210210
}

portable/IAR/AtmelSAM7S64/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ AT91PS_PITC pxPIT = AT91C_BASE_PITC;
218218
/* Configure the PIT period. */
219219
pxPIT->PITC_PIMR = portPIT_ENABLE | portPIT_INT_ENABLE | portPIT_COUNTER_VALUE;
220220

221-
/* Enable the interrupt. Global interrupts are disables at this point so
221+
/* Enable the interrupt. Global interrupts are disabled at this point so
222222
this is safe. */
223223
AT91F_AIC_EnableIt( AT91C_BASE_AIC, AT91C_ID_SYS );
224224
}

0 commit comments

Comments
 (0)