Commit 7d96d5f0 authored by Rahix's avatar Rahix
Browse files

fix(serial): Fix serial_flush_from_isr always yielding

By passing `&resched` instead of just `resched`, the internal comparison
in FreeRTOS would always evaluate to rescheduling.  Curiously, only some
GCC versions emit the -Waddress warning for this while others do not ...

Signed-off-by: Rahix's avatarRahix <>
parent 67cb31c6
......@@ -161,7 +161,7 @@ static void serial_flush_from_isr(void)
static void serial_flush_from_thread(void)
Supports Markdown
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