We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf78da2 commit 81ac336Copy full SHA for 81ac336
src/tests/functional/i2c_test.rs
@@ -95,7 +95,7 @@ pub fn test_i2c_master(uart: &mut UartController<'_>) {
95
96
writeln!(uart, "\r\n####### I2C master test #######\r\n").unwrap();
97
unsafe {
98
- dbg_uart.init(Config {
+ dbg_uart.init(&Config {
99
baud_rate: 115200,
100
word_length: uart::WordLength::Eight as u8,
101
parity: uart::Parity::None,
@@ -224,7 +224,7 @@ pub fn test_i2c_slave(uart: &mut UartController<'_>) {
224
225
writeln!(uart, "\r\n####### I2C slave test #######\r\n").unwrap();
226
227
228
229
230
0 commit comments