Function esp_idf_sys::esp_rom_install_channel_putc

source ยท
pub unsafe extern "C" fn esp_rom_install_channel_putc(
    channel: c_int,
    putc: Option<unsafe extern "C" fn(c: c_char)>,
)
Expand description

@brief esp_rom_printf can print message to different channels simultaneously. This function can help install the low level putc function for esp_rom_printf.

@param channel Channel number (startting from 1) @param putc Function pointer to the putc implementation. Set NULL can disconnect esp_rom_printf with putc.