diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-25 16:19:46 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-25 16:19:46 +0000 |
| commit | cd36e3f7332d08865e670ca5b515d1c6efa1bf85 (patch) | |
| tree | 138f01bc3f400bdf907712b8fd489adf4d2e432a /examples/stm32l4/src/bin/i2c_blocking_async.rs | |
| parent | a950266a7501c5534ebd7c477d42d29ac25cf472 (diff) | |
| parent | 3fc54236ea18a5ade403fe4a2c85906dbcf727b4 (diff) | |
Merge #589
589: stm32/i2c: allow empty writes r=Dirbaio a=darkwater
The Senseair Sunrise CO2 sensor expects a wake-up packet in the form of (START, address, STOP), which looks like a `write(addr, &[])`, but this assertion prevents sending that.
I'm not sure why the assertion is there. Sending empty packets works fine in my limited testing, at least.
Co-authored-by: Sam Lakerveld <[email protected]>
Diffstat (limited to 'examples/stm32l4/src/bin/i2c_blocking_async.rs')
0 files changed, 0 insertions, 0 deletions
