diff options
| author | Ulf Lilleengen <[email protected]> | 2024-02-03 14:02:00 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-03 14:02:00 +0000 |
| commit | 711dd120d1802dd43b003b2536a290a1c53cfeba (patch) | |
| tree | b6c4d3d407a1cf4eb05985d20915ba6a07db8182 /tests | |
| parent | 88e7e1ceb9882a25548ecd8f69c8be5ba26ca6a3 (diff) | |
| parent | b9d0069671b33107e35af6bdaa662e9c7be8e3f9 (diff) | |
Merge pull request #2526 from BoostCookie/fix-grammar
correct spelling of the word "receive"
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/rp/src/bin/i2c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rp/src/bin/i2c.rs b/tests/rp/src/bin/i2c.rs index 77d628cf6..a0aed1a42 100644 --- a/tests/rp/src/bin/i2c.rs +++ b/tests/rp/src/bin/i2c.rs | |||
| @@ -80,7 +80,7 @@ async fn device_task(mut dev: i2c_slave::I2cSlave<'static, I2C1>) -> ! { | |||
| 80 | _ => panic!("Invalid write length {}", len), | 80 | _ => panic!("Invalid write length {}", len), |
| 81 | }, | 81 | }, |
| 82 | Ok(i2c_slave::Command::WriteRead(len)) => { | 82 | Ok(i2c_slave::Command::WriteRead(len)) => { |
| 83 | info!("device recieved write read: {:x}", buf[..len]); | 83 | info!("device received write read: {:x}", buf[..len]); |
| 84 | match buf[0] { | 84 | match buf[0] { |
| 85 | 0xC2 => { | 85 | 0xC2 => { |
| 86 | let resp_buff = [0xD1, 0xD2, 0xD3, 0xD4]; | 86 | let resp_buff = [0xD1, 0xD2, 0xD3, 0xD4]; |
