Skip to content

Commit

Permalink
Fix some missing parameters in macros
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Dec 22, 2013
1 parent bb6ba0b commit 88faa55
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/arm/src/arm/up_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
}
}
#else
# define up_stackdump()
# define up_stackdump(sp,stack_base)
#endif

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/armv6-m/up_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
}
}
#else
# define up_stackdump()
# define up_stackdump(sp,stack_base)
#endif

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/armv7-a/arm_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
}
}
#else
# define up_stackdump()
# define up_stackdump(sp,stack_base)
#endif

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/armv7-m/up_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
}
}
#else
# define up_stackdump()
# define up_stackdump(sp,stack_base)
#endif

/****************************************************************************
Expand Down
6 changes: 4 additions & 2 deletions arch/arm/src/stm32/stm32_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ void up_disable_irq(int irq)
regval &= ~bit;
putreg32(regval, regaddr);
}
stm32_dumpnvic("disable", irq);

// stm32_dumpnvic("disable", irq);
}

/****************************************************************************
Expand All @@ -452,7 +453,8 @@ void up_enable_irq(int irq)
regval |= bit;
putreg32(regval, regaddr);
}
stm32_dumpnvic("enable", irq);

// stm32_dumpnvic("enable", irq);
}

/****************************************************************************
Expand Down

0 comments on commit 88faa55

Please sign in to comment.