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