mirror of https://github.com/rusefi/wideband.git
max3185x: fix compilation warning (#264)
(cherry picked from commit 083defaaf2dd20498939ca5ddd40195a2484c33b) Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
1dd87975a3
commit
6021a5eb6f
|
@ -89,6 +89,8 @@ int Max3185x::detect()
|
|||
uint32_t data;
|
||||
|
||||
int ret = spi_txrx(tx, rx, 4);
|
||||
if (ret)
|
||||
return ret;
|
||||
data = (rx[0] << 24) |
|
||||
(rx[1] << 16) |
|
||||
(rx[2] << 8) |
|
||||
|
|
Loading…
Reference in New Issue