max3185x: compare not assign

This commit is contained in:
Andrey Gusakov 2024-03-13 01:04:03 +03:00 committed by rusefillc
parent 8972fedb41
commit f9e0dddc4c
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ private:
(rx[3] << 0);
/* MISO is constantly low or high */
if ((data = 0xffffffff) || (data == 0x0)) {
if ((data == 0xffffffff) || (data == 0x0)) {
return UNKNOWN_TYPE;
}