mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
51169ac032
Sometimes `ot-rcp` will exit without any exit information in the log. It is hard for developers to know what happens on the `ot-rcp` side when the `ot-rcp` exits abnormally. This commit calls functions defined in `lib/platform/exit_code.h` to exit the program and log the exit information.