sensor_creator: Fix compile issues when build for bma253
* under the License.
*/
+#include <syscfg/syscfg.h>
#include <os/os_dev.h>
#include <assert.h>
#include <defs/error.h>
@@ -478,21 +479,16 @@ config_bma253_sensor(void)
cfg.g_range = BMA253_G_RANGE_2;
cfg.filter_bandwidth = BMA253_FILTER_BANDWIDTH_1000_HZ;
cfg.use_unfiltered_data = false;
- cfg.int_pin_output = BMA253_INT_PIN_OUTPUT_PUSH_PULL;
- cfg.int_pin_active = BMA253_INT_PIN_ACTIVE_HIGH;
cfg.tap_quiet = BMA253_TAP_QUIET_30_MS;
cfg.tap_shock = BMA253_TAP_SHOCK_50_MS;
cfg.d_tap_window = BMA253_D_TAP_WINDOW_250_MS;
cfg.tap_wake_samples = BMA253_TAP_WAKE_SAMPLES_2;
cfg.tap_thresh_g = 1.0;
- cfg.i2c_watchdog = BMA253_I2C_WATCHDOG_DISABLED;
cfg.offset_x_g = 0.0;
cfg.offset_y_g = 0.0;
cfg.offset_z_g = 0.0;
cfg.power_mode = BMA253_POWER_MODE_NORMAL;
cfg.sleep_duration = BMA253_SLEEP_DURATION_0_5_MS;
- cfg.int_pin1_num = 20;
- cfg.int_pin2_num = 19;
cfg.sensor_mask = SENSOR_TYPE_ACCELEROMETER;
rc = bma253_config((struct bma253 *)dev, &cfg);
