inputs: MPU6050: hide behind CONFIG_MPU6050 flag

This commit is contained in:
Torrie Fischer 2023-12-23 11:04:59 +01:00
parent 7e1b3b9500
commit cc9c719e3c

View File

@ -1,3 +1,4 @@
#ifdef CONFIG_MPU6050
#include "MPU6050.h"
#include <Wire.h>
#include "../Config.h"
@ -64,3 +65,4 @@ MPU5060::read()
STATIC_ALLOC(MPU5060);
STATIC_TASK(MPU5060);
#endif