1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-01 11:28:26 +02:00

fw/sample.c (handler): set the time in samples (was set to zero, for debugging)

This commit is contained in:
Werner Almesberger 2012-06-21 19:16:55 -03:00
parent 77bd5797d3
commit 28cf696a08

View File

@ -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;