Usermod class vars pt2: enabled default value

This commit is contained in:
Ewoud
2023-03-15 18:18:11 +01:00
parent 7337efec02
commit ff6d5136ac
4 changed files with 5 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ class MPU6050Driver : public Usermod {
static const char _INT_pin[];
public:
MPU6050Driver(const char *name):Usermod(name) {} //WLEDMM: this shouldn't be necessary (passthrough of constructor), maybe because Usermod is an abstract class
MPU6050Driver(const char *name, bool enabled):Usermod(name, enabled) {} //WLEDMM: this shouldn't be necessary (passthrough of constructor), maybe because Usermod is an abstract class
bool dmpReady = false; // set true if DMP init was successful // WLEDMM expose this info in public interface
// orientation/motion vars