More debug fixes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2649 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-05-03 03:46:21 +00:00
parent ee2303e970
commit e8baad01bd

View File

@ -200,7 +200,7 @@ int str71x_xticonfig(int irq, bool rising)
/* Configure one of the 16 lines as an interrupt source */
if (irq > STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
if (irq >= STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
{
/* Make sure that the interrupt is disabled */
@ -254,7 +254,7 @@ void str71x_enable_xtiirq(int irq)
/* Enable the external interrupt */
if (irq > STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
if (irq >= STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
{
/* Decide if we use the lower or upper regiser */
@ -294,7 +294,7 @@ void str71x_disable_xtiirq(int irq)
/* Disable the external interrupt */
if (irq > STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
if (irq >= STR71X_IRQ_FIRSTXTI && irq <= NR_IRQS)
{
/* Decide if we use the lower or upper regiser */