From 28cf696a08c1a4f26e2c83755a5110ef3a2622b5 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 21 Jun 2012 19:16:55 -0300 Subject: [PATCH] fw/sample.c (handler): set the time in samples (was set to zero, for debugging) --- fw/sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/sample.c b/fw/sample.c index 7e76b07..4b1fcdf 100644 --- a/fw/sample.c +++ b/fw/sample.c @@ -40,7 +40,7 @@ static void handler(bool x, uint16_t v) if (x != expect_x) return; - t = 0; //uptime_irq(); + t = uptime_irq(); if (p == (uint16_t *) (buf+3)) *p++ = t >> 16; *p++ = t;