Function esp_idf_svc::sys::esp_vfs_dev_cdcacm_set_tx_line_endings
source · pub unsafe extern "C" fn esp_vfs_dev_cdcacm_set_tx_line_endings(
mode: u32,
)
Expand description
@brief Set the line endings to sent
This specifies the conversion between newlines (‘\n’, LF) on stdout and line endings sent:
- ESP_LINE_ENDINGS_CRLF: convert LF to CRLF
- ESP_LINE_ENDINGS_CR: convert LF to CR
- ESP_LINE_ENDINGS_LF: no modification
@note this function is not thread safe w.r.t. writing
@param mode line endings to send