From bbdc1ffe544681c076dafc23f0956d4ca84a97ee Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Tue, 24 Mar 2009 22:43:34 +0100 Subject: correct some comments --- Source/portable/SDCC/PIC18/port.c | 4 ++-- 1 file 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 -- cgit v1.2.3