void platform_hook_background(PLATFORM_HOOK_t *hook);
platform_hook_background hooks hook to the list of hooks that run in the background, approximately ten times per second. The platform executes the hook in a task context, not an interrupt context.
Hooking onto the background list is a good way to periodically update environmental sensor readings, flush shadowed LCD contents, and anything else that is not time critical.
platform_hook_background is thread-safe.