Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ smg_uart_tx_buffer_size
Function
smg_uart_tx_buffer_size
Sming/Components/arch_driver/src/uart.cpp:80–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
size_t smg_uart_tx_buffer_size(smg_uart_t* uart)
81
{
82
return uart != nullptr && uart->tx_buffer != nullptr ? uart->tx_buffer->getSize() : 0;
83
}
84
85
int smg_uart_peek_char(smg_uart_t* uart)
86
{
Callers
1
smg_uart_resize_tx_buffer
Function · 0.85
Calls
1
getSize
Method · 0.45
Tested by
no test coverage detected