diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-03 18:31:07 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-13 09:13:20 +0100 |
commit | f9d3cfc493184b2aef837cf2edebdc8f7df118c4 (patch) | |
tree | 04dfeccfc86d4c673326c98e6c802c972ec1742f /src | |
parent | c0d246e8e4130c3df7d16a97f7c749827be18b29 (diff) | |
download | px4-firmware-f9d3cfc493184b2aef837cf2edebdc8f7df118c4.tar.gz px4-firmware-f9d3cfc493184b2aef837cf2edebdc8f7df118c4.tar.bz2 px4-firmware-f9d3cfc493184b2aef837cf2edebdc8f7df118c4.zip |
SPI: Log device clock on startup
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/device/spi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/device/spi.cpp b/src/drivers/device/spi.cpp index 200acac05..14f6d5706 100644 --- a/src/drivers/device/spi.cpp +++ b/src/drivers/device/spi.cpp @@ -123,7 +123,7 @@ SPI::init() } /* 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: return ret; |