Commit 0701f7f
I2C transport: Use only first 4 bytes of packet to decode header
The `MctpI2cHeader::decode(...)` method errors on slices that are not 4-byte.
Signed-off-by: Marvin Gudel <marvin.gudel@9elements.com>1 parent 6fe0467 commit 0701f7f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
0 commit comments