Mutex guards kata-uart-client read and write

Change-Id: I5757dcf68f64359b743f458f336a813aeb43c069
GitOrigin-RevId: 1c6c85f95c6509cc915df1b82076942cd540c441
This commit is contained in:
Matt Harvey
2021-08-13 14:26:43 -07:00
committed by Sam Leffler
parent 7c3cc70ab1
commit 4043c8b5b7
2 changed files with 12 additions and 2 deletions

View File

@@ -9,9 +9,11 @@ component DebugConsole {
dataport Buf tx_dataport;
uses dataport_io_inf uart_tx;
has mutex tx_mutex;
dataport Buf rx_dataport;
uses dataport_io_inf uart_rx;
has mutex rx_mutex;
provides LoggerInterface logger;
uses ProcessControlInterface proc_ctrl;