mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-08-31 13:06:15 +00:00
kata-uart-client: use correct type for dataports
Change-Id: I07224179314dbecc35f343e8e87b77886aa2108b GitOrigin-RevId: 89e342f858475c1ab5695621ab1f46e70e6d45ca
This commit is contained in:
@@ -4,8 +4,8 @@ use kata_io as io;
|
||||
|
||||
// C interface to external UART driver.
|
||||
extern "C" {
|
||||
static rx_dataport: *mut cty::c_char;
|
||||
static tx_dataport: *mut cty::c_char;
|
||||
static rx_dataport: *mut cty::c_uchar;
|
||||
static tx_dataport: *mut cty::c_uchar;
|
||||
fn uart_rx(n: cty::size_t);
|
||||
fn uart_tx(n: cty::size_t);
|
||||
}
|
||||
|
Reference in New Issue
Block a user