MCPcopy Create free account
hub / github.com/SmingHub/Sming / smg_uart_rx_buffer_size

Function smg_uart_rx_buffer_size

Sming/Components/arch_driver/src/uart.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67size_t smg_uart_rx_buffer_size(smg_uart_t* uart)
68{
69 return uart != nullptr && uart->rx_buffer != nullptr ? uart->rx_buffer->getSize() : 0;
70}
71
72size_t smg_uart_resize_tx_buffer(smg_uart_t* uart, size_t new_size)
73{

Callers 1

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected