Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2781645

Browse files
authoredMay 4, 2024
fix render task priority value (#307)
The current value was outside of the legal limits by one. Since 5.2 this was enforced causing us to hit an assert.
1 parent 29b2b19 commit 2781645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/render.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ void epd_renderer_init(enum EpdInitOptions options) {
324324
);
325325
assert(render_context.feed_line_buffers[i] != NULL);
326326
RTOS_ERROR_CHECK(xTaskCreatePinnedToCore(
327-
render_thread, "epd_prep", 1 << 12, (void*)i, configMAX_PRIORITIES,
327+
render_thread, "epd_prep", 1 << 12, (void*)i, configMAX_PRIORITIES - 1,
328328
&render_context.feed_tasks[i], i
329329
));
330330
}

0 commit comments

Comments
 (0)
Please sign in to comment.