Skip to content
Snippets Groups Projects
Commit 76cf5ec7 authored by q3k's avatar q3k
Browse files

py/st3m/event: prettier logging in case of negative slack

parent 2ead48d3
No related branches found
No related tags found
No related merge requests found
Pipeline #5602 passed
......@@ -226,7 +226,8 @@ class Engine:
if wait > 0:
hardware.freertos_sleep(wait)
else:
print('out of time', wait, post_think-start, post_draw-post_think, post_submit-post_draw)
log.warning(f'Application took too long too process! Slack {wait}ms.')
log.warning(f'Think: {post_think-start}ms, Draw: {post_draw-post_think}ms, Submit: {post_submit-post_draw}ms')
class Event:
def __init__(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment