taniks: Remove G sensor/motionsense support
Remove G sensor/motionsense support
BRANCH=brya
TEST=make buildall -j
#include "temp_sensor.h"
#include "thermal.h"
#include "temp_sensor/thermistor.h"
+#include "tablet_mode.h"
-#if 0
+#if 1
#define CPRINTS(format, args...) ccprints(format, ## args)
#define CPRINTF(format, args...) ccprintf(format, ## args)
#else
@@ -314,6 +315,8 @@ static void baseboard_sensors_init(void)
} else {
CPRINTS("Clamshell");
motion_sensor_count = 0;
+ gmr_tablet_switch_disable();
+ gpio_set_flags(GPIO_TABLET_MODE_L, GPIO_INPUT | GPIO_PULL_DOWN);
/* Gyro is not present, don't allow line to float */
gpio_set_flags(GPIO_EC_IMU_INT_R_L, GPIO_INPUT |
GPIO_PULL_DOWN);
