mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 08:03:34 +08:00
SPI: Log device clock on startup
This commit is contained in:
@@ -123,7 +123,7 @@ SPI::init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* tell the workd where we are */
|
/* tell the workd where we are */
|
||||||
log("on SPI bus %d at %d", _bus, _device);
|
log("on SPI bus %d at %d (%u KHz)", _bus, _device, _frequency / 1000);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user