Read about our upcoming Code of Conduct on this issue

Commit 6266cf6e authored by alex@thinkpad's avatar alex@thinkpad
Browse files

log-d6: we've got a 32-bit DIGIC timer

https://www.magiclantern.fm/forum/index.php?topic=17360.msg202319#msg202319

--HG--
branch : digic6-dumper
parent d0a2c09c1426
......@@ -65,7 +65,7 @@ static void my_DebugMsg(int class, int level, char* fmt, ...)
if (spaces < 0) spaces = 0;
snprintf(task_name_padded + spaces, 11 - spaces, "%s", task_name);
len += snprintf( buf+len, buf_size-len, "%05X> %s:%08x:%02x:%02x: ", us_timer, task_name_padded, lr-4, class, level );
len += snprintf( buf+len, buf_size-len, "%08X> %s:%08x:%02x:%02x: ", us_timer, task_name_padded, lr-4, class, level );
va_list ap;
va_start( ap, fmt );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment