Browse Source

Kinetis:hrt stub - to get to command prompt

sbg
David Sidrane 8 years ago committed by Daniel Agar
parent
commit
790da4dec3
  1. 4
      src/drivers/kinetis/drv_hrt.c

4
src/drivers/kinetis/drv_hrt.c

@ -555,7 +555,7 @@ hrt_abstime
hrt_absolute_time(void) hrt_absolute_time(void)
{ {
hrt_abstime abstime; hrt_abstime abstime;
uint32_t count; static uint32_t count = 0;
irqstate_t flags; irqstate_t flags;
/* /*
@ -571,7 +571,7 @@ hrt_absolute_time(void)
flags = px4_enter_critical_section(); flags = px4_enter_critical_section();
/* get the current counter value */ /* get the current counter value */
count = rCNT; count++;
/* /*
* Determine whether the counter has wrapped since the * Determine whether the counter has wrapped since the

Loading…
Cancel
Save