diff options
-rw-r--r-- | board/zoombini/board.c | 2 | ||||
-rw-r--r-- | board/zoombini/board.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/board/zoombini/board.c b/board/zoombini/board.c index 15564c5b6f..331be401e2 100644 --- a/board/zoombini/board.c +++ b/board/zoombini/board.c @@ -283,6 +283,7 @@ struct motion_sensor_t motion_sensors[] = { }, }, }, +#ifdef BOARD_MEOWTH [VSYNC] = { .name = "Camera vsync", .active_mask = SENSOR_ACTIVE_S0, @@ -294,6 +295,7 @@ struct motion_sensor_t motion_sensors[] = { .min_frequency = 0, .max_frequency = 1, }, +#endif }; const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); diff --git a/board/zoombini/board.h b/board/zoombini/board.h index aae8270f7d..b397ca4164 100644 --- a/board/zoombini/board.h +++ b/board/zoombini/board.h @@ -53,13 +53,18 @@ #define CONFIG_ALS_OPT3001 #define OPT3001_I2C_ADDR OPT3001_I2C_ADDR1 #define ALS_COUNT 1 + +#ifdef BOARD_MEOWTH #define CONFIG_SYNC +#endif +#ifdef BOARD_MEOWTH /* FIFO size is in power of 2. */ #define CONFIG_ACCEL_FIFO 1024 /* Depends on how fast the AP boots and typical ODRs */ #define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3) +#endif /* Interrupt management. */ #define CONFIG_ACCEL_INTERRUPTS |