Skip to content

Commit

Permalink
Fix typos in comments for the AT91SAM7S port (#695)
Browse files Browse the repository at this point in the history
Co-authored-by: RichardBarry <[email protected]>
  • Loading branch information
unspecd and RichardBarry authored Jun 26, 2023
1 parent 788f8cf commit 891dcdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portable/GCC/ARM7_AT91SAM7S/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ AT91PS_PITC pxPIT = AT91C_BASE_PITC;
/* Configure the PIT period. */
pxPIT->PITC_PIMR = portPIT_ENABLE | portPIT_INT_ENABLE | portPIT_COUNTER_VALUE;

/* Enable the interrupt. Global interrupts are disables at this point so
/* Enable the interrupt. Global interrupts are disabled at this point so
this is safe. */
AT91C_BASE_AIC->AIC_IECR = 0x1 << AT91C_ID_SYS;
}
Expand Down
2 changes: 1 addition & 1 deletion portable/IAR/AtmelSAM7S64/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ AT91PS_PITC pxPIT = AT91C_BASE_PITC;
/* Configure the PIT period. */
pxPIT->PITC_PIMR = portPIT_ENABLE | portPIT_INT_ENABLE | portPIT_COUNTER_VALUE;

/* Enable the interrupt. Global interrupts are disables at this point so
/* Enable the interrupt. Global interrupts are disabled at this point so
this is safe. */
AT91F_AIC_EnableIt( AT91C_BASE_AIC, AT91C_ID_SYS );
}
Expand Down

0 comments on commit 891dcdf

Please sign in to comment.