summaryrefslogtreecommitdiff
path: root/Source/portable/SDCC/PIC18/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/portable/SDCC/PIC18/port.c')
-rw-r--r--Source/portable/SDCC/PIC18/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/portable/SDCC/PIC18/port.c b/Source/portable/SDCC/PIC18/port.c
index 7bdf0fef..86c41127 100644
--- a/Source/portable/SDCC/PIC18/port.c
+++ b/Source/portable/SDCC/PIC18/port.c
@@ -256,7 +256,7 @@ void vPortYield(void) __naked
portSAVE_CONTEXT(portGLOBAL_INTERRUPT_FLAG);
INTCONbits.TMR0IF=0;
- /*set TMR0L and TMR0H vlaue*/
+ /*set TMR0L and TMR0H value*/
TMR0H=(unsigned portCHAR)((TMR0ReloadValue&(unsigned portSHORT)0xff00)>>8);
TMR0L=(unsigned portCHAR)(TMR0ReloadValue&(unsigned portSHORT)0x00ff);
@@ -287,7 +287,7 @@ static void prvSetupTimerInterrupt(void)
INTCONbits.TMR0IF=0; /*Timer0 interrupt flag cleared*/
INTCON2bits.T0IP=0; /*TimerO has low priority interrupt*/
- /*set TMR0L and TMR0H vlaue*/
+ /*set TMR0L and TMR0H value*/
TMR0H=(unsigned portCHAR)((TMR0ReloadValue&(unsigned portSHORT)0xff00)>>8);
TMR0L=(unsigned portCHAR)(TMR0ReloadValue&(unsigned portSHORT)0x00ff);
RCONbits.IPEN=1; /* Interrupt priority feature enabled. FIXME: this is