mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:48:52 +08:00
spi:Print only device index (mask bus in _device
Print only the PX4_SPI_DEV_ID portion of the _device
This commit is contained in:
committed by
Daniel Agar
parent
a5297074c6
commit
c7823ffc58
@@ -124,7 +124,7 @@ SPI::init()
|
||||
}
|
||||
|
||||
/* tell the workd where we are */
|
||||
DEVICE_LOG("on SPI bus %d at %d (%u KHz)", _bus, _device, _frequency / 1000);
|
||||
DEVICE_LOG("on SPI bus %d at %d (%u KHz)", _bus, PX4_SPI_DEV_ID(_device), _frequency / 1000);
|
||||
|
||||
out:
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user