The __esp_radio_printf function is an exported C-compatible function used to bridge radio-level logging from the underlying C drivers to the Rust environment.
- If the
sys-logs feature is enabled, this function routes logs to the info! macro. - If the
sys-logs feature is disabled, the function is a no-op.
This function is typically called by the underlying C wireless drivers to output tagged messages.
// Note: This is an extern "C" function intended to be called by the C driver.
// It is not typically called directly by the Rust user, but its behavior
// depends on the 'sys-logs' feature.
extern "C" {
fn __esp_radio_printf(tag: *const core::ffi::c_char, msg: *const core::ffi::c_char);
}