kata-uart-client: use correct type for dataports

Change-Id: I07224179314dbecc35f343e8e87b77886aa2108b
GitOrigin-RevId: 89e342f858475c1ab5695621ab1f46e70e6d45ca
This commit is contained in:
Sam Leffler
2021-06-11 12:04:59 -07:00
parent 90e9cb95f9
commit 16d547d52d

View File

@@ -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);
}