Skip to content
Snippets Groups Projects
Commit 55083e36 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[LIS2MDL] Removed constructor from config struct

parent 538bd52e
Branches
No related tags found
No related merge requests found
...@@ -62,8 +62,6 @@ public: ...@@ -62,8 +62,6 @@ public:
*/ */
struct Config struct Config
{ {
Config() {}
ODR odr = ODR_10_HZ; ODR odr = ODR_10_HZ;
OperativeMode deviceMode = MD_IDLE1; OperativeMode deviceMode = MD_IDLE1;
...@@ -76,8 +74,8 @@ public: ...@@ -76,8 +74,8 @@ public:
unsigned temperatureDivider = 0; unsigned temperatureDivider = 0;
}; };
LIS2MDL(SPIBusInterface& bus, miosix::GpioPin pin, LIS2MDL(SPIBusInterface& bus, miosix::GpioPin pin, SPIBusConfig spiConfig,
SPIBusConfig spiConfig = {}, Config config = {}); Config config);
static SPIBusConfig getDefaultSPIConfig(); static SPIBusConfig getDefaultSPIConfig();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment