mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
fw/sample.c (handler): set the time in samples (was set to zero, for debugging)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user