From 16d547d52d02523c6bb71631a080d5e3566d8404 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 11 Jun 2021 12:04:59 -0700 Subject: [PATCH] kata-uart-client: use correct type for dataports Change-Id: I07224179314dbecc35f343e8e87b77886aa2108b GitOrigin-RevId: 89e342f858475c1ab5695621ab1f46e70e6d45ca --- .../components/DebugConsole/kata-uart-client/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/system/components/DebugConsole/kata-uart-client/src/lib.rs b/apps/system/components/DebugConsole/kata-uart-client/src/lib.rs index dcf8cd0..0e4fd03 100644 --- a/apps/system/components/DebugConsole/kata-uart-client/src/lib.rs +++ b/apps/system/components/DebugConsole/kata-uart-client/src/lib.rs @@ -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); }