Remove MPU9250 support

This commit is contained in:
Tevin Zhang
2019-02-02 13:41:19 +08:00
parent e23fbc055f
commit 7c258d2846
3 changed files with 0 additions and 14 deletions
-4
View File
@@ -15,9 +15,5 @@ if(CONFIG_M5STACK_FIRE)
list(APPEND DEFINITIONS "M5STACK_FIRE")
endif(CONFIG_M5STACK_FIRE)
if(CONFIG_MPU9250_INSDE)
list(APPEND DEFINITIONS "MPU9250_INSDE")
endif(CONFIG_MPU9250_INSDE)
target_compile_definitions(${COMPONENT_TARGET} PUBLIC ${DEFINITIONS})
-9
View File
@@ -16,14 +16,5 @@ config M5STACK_FIRE
bool "M5Stack Fire"
endchoice
config MPU9250_INSDE
bool "Enable MPU9250"
default "y" if M5STICK="y"
default "n" if M5STACK_BASIC="y"
default "y" if M5STACK_GRAY="y"
default "y" if M5STACK_FIRE="y"
default "n"
help
Select this if your core has MPU9250 inside.
endmenu
-1
View File
@@ -133,7 +133,6 @@ class M5Stack {
// MPU9250
#ifdef MPU9250_INSDE
#include "utility/MPU9250.h"
MPU9250 IMU = MPU9250();
#endif