pandad: fix return value in spi_transfer (#34082)

zero
pull/34085/head
Maxime Desroches 9 months ago committed by GitHub
parent 8d9a1fa436
commit 8939e3a30b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/pandad/spi.cc

@ -418,7 +418,7 @@ fail:
}
}
if (ret > 0) ret = -1;
if (ret >= 0) ret = -1;
return ret;
}
#endif

Loading…
Cancel
Save