diff --git a/firmware/hw_layer/sensors/max3185x.cpp b/firmware/hw_layer/sensors/max3185x.cpp index 90b4e21cabf..4aea4313005 100644 --- a/firmware/hw_layer/sensors/max3185x.cpp +++ b/firmware/hw_layer/sensors/max3185x.cpp @@ -307,7 +307,7 @@ class Max3185xRead final : public ThreadController { (rx[3] << 0); /* MISO is constantly low or high */ - if ((data = 0xffffffff) || (data == 0x0)) { + if ((data == 0xffffffff) || (data == 0x0)) { return UNKNOWN_TYPE; }