mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-01 09:24:05 +02:00
fw/sample.c (handler): set the time in samples (was set to zero, for debugging)
This commit is contained in:
parent
77bd5797d3
commit
28cf696a08
@ -40,7 +40,7 @@ static void handler(bool x, uint16_t v)
|
|||||||
|
|
||||||
if (x != expect_x)
|
if (x != expect_x)
|
||||||
return;
|
return;
|
||||||
t = 0; //uptime_irq();
|
t = uptime_irq();
|
||||||
if (p == (uint16_t *) (buf+3))
|
if (p == (uint16_t *) (buf+3))
|
||||||
*p++ = t >> 16;
|
*p++ = t >> 16;
|
||||||
*p++ = t;
|
*p++ = t;
|
||||||
|
Loading…
Reference in New Issue
Block a user