5void libxr_fatal_error(
const char *file, uint32_t line,
bool in_isr)
7 volatile bool stop =
false;
12 printf(
"Fatal error at %s:%d\r\n", file,
static_cast<int>(line));
static std::optional< LibXR::Callback< const char *, uint32_t > > libxr_fatal_error_callback_
存储已注册的致命错误回调函数。 Stores the registered fatal error callback.
static WritePort * write_
Write port instance. 写入端口。
static void Sleep(uint32_t milliseconds)
让线程进入休眠状态 Puts the thread to sleep