PX4 SPI default to thread locking mode

This commit is contained in:
Daniel Agar
2019-08-20 21:36:21 -04:00
parent 7d248e0f45
commit 5d813224c8
6 changed files with 23 additions and 73 deletions
@@ -341,9 +341,6 @@ PMW3901::init()
_yaw_rotation = (enum Rotation)val;
}
/* For devices competing with NuttX SPI drivers on a bus (Crazyflie SD Card expansion board) */
SPI::set_lockmode(LOCK_THREADS);
/* do SPI init (and probe) first */
if (SPI::init() != OK) {
goto out;