mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 23:40:21 +08:00
3c9a9d683f
set_errno() should not modify the interrupted task's errno. Add a check using up_interrupt_context() and skip the assignment when called from an interrupt handler. Signed-off-by: Jerry Ma <shichunma@bestechnic.com>