aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device/spi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/device/spi.cpp')
-rw-r--r--src/drivers/device/spi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/device/spi.cpp b/src/drivers/device/spi.cpp
index 57cef34d2..1ab1dc699 100644
--- a/src/drivers/device/spi.cpp
+++ b/src/drivers/device/spi.cpp
@@ -69,11 +69,11 @@ SPI::SPI(const char *name,
// protected
locking_mode(LOCK_PREEMPTION),
// private
- _bus(bus),
_device(device),
_mode(mode),
_frequency(frequency),
- _dev(nullptr)
+ _dev(nullptr),
+ _bus(bus)
{
}