mirror of
https://github.com/wled/WLED.git
synced 2025-07-25 11:46:34 +00:00
usermod_list: Add IMU usermod
This commit is contained in:
parent
9a006dc84a
commit
6f8b3a6242
@ -197,6 +197,10 @@
|
|||||||
#include "../usermods/pwm_outputs/usermod_pwm_outputs.h"
|
#include "../usermods/pwm_outputs/usermod_pwm_outputs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USERMOD_MPU6050_IMU
|
||||||
|
#include "../usermods/mpu6050_imu/usermod_mpu6050_imu.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void registerUsermods()
|
void registerUsermods()
|
||||||
{
|
{
|
||||||
@ -373,4 +377,9 @@ void registerUsermods()
|
|||||||
#ifdef USERMOD_INTERNAL_TEMPERATURE
|
#ifdef USERMOD_INTERNAL_TEMPERATURE
|
||||||
usermods.add(new InternalTemperatureUsermod());
|
usermods.add(new InternalTemperatureUsermod());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USERMOD_MPU6050_IMU
|
||||||
|
static MPU6050Driver mpu6050; usermods.add(&mpu6050);
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user