Skip to content

Commit

Permalink
max3185x: compare not assign
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus committed Mar 12, 2024
1 parent a65ce5f commit 9ac3c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/hw_layer/sensors/max3185x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class Max3185xRead final : public ThreadController<UTILITY_THREAD_STACK_SIZE> {
(rx[3] << 0);

/* MISO is constantly low or high */
if ((data = 0xffffffff) || (data == 0x0)) {
if ((data == 0xffffffff) || (data == 0x0)) {
return UNKNOWN_TYPE;
}

Expand Down

0 comments on commit 9ac3c78

Please sign in to comment.