Fix some spacing problems found by tools/nxstyle.c
This commit is contained in:
parent
bd384d93eb
commit
88ebcc895b
@ -373,7 +373,7 @@ static void lpc43_tl_save_timer(bool from_isr)
|
|||||||
|
|
||||||
if (from_isr || lpc43_tl_get_interrupt())
|
if (from_isr || lpc43_tl_get_interrupt())
|
||||||
{
|
{
|
||||||
if (lpc43_tl_get_reset_on_match()) /*was reset ?*/
|
if (lpc43_tl_get_reset_on_match()) /* Was reset? */
|
||||||
{
|
{
|
||||||
struct timespec match_ts;
|
struct timespec match_ts;
|
||||||
base_rest = lpc43_tl_tick2ts(match + base_rest,
|
base_rest = lpc43_tl_tick2ts(match + base_rest,
|
||||||
@ -599,7 +599,7 @@ void up_timer_initialize(void)
|
|||||||
flags = irqsave();
|
flags = irqsave();
|
||||||
|
|
||||||
ctrl_cache = getreg32(LPC43_RIT_CTRL);
|
ctrl_cache = getreg32(LPC43_RIT_CTRL);
|
||||||
ctrl_cache &= ~RIT_CTRL_INT; /* set interrupt to 0*/
|
ctrl_cache &= ~RIT_CTRL_INT; /* Set interrupt to 0 */
|
||||||
mask_cache = getreg32(LPC43_RIT_MASK);
|
mask_cache = getreg32(LPC43_RIT_MASK);
|
||||||
compare_cache = getreg32(LPC43_RIT_COMPVAL);
|
compare_cache = getreg32(LPC43_RIT_COMPVAL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user