summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/cyan/board.c6
-rw-r--r--board/kunimitsu/board.c6
-rw-r--r--board/ryu/board.c11
-rw-r--r--board/ryu_sh/board.c6
-rw-r--r--board/samus/board.c9
-rw-r--r--board/strago/board.c6
6 files changed, 29 insertions, 15 deletions
diff --git a/board/cyan/board.c b/board/cyan/board.c
index 39855fd01b..1dbb179feb 100644
--- a/board/cyan/board.c
+++ b/board/cyan/board.c
@@ -113,7 +113,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
{.name = "Lid",
@@ -128,7 +129,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
};
diff --git a/board/kunimitsu/board.c b/board/kunimitsu/board.c
index db4d81f647..d018947e8a 100644
--- a/board/kunimitsu/board.c
+++ b/board/kunimitsu/board.c
@@ -190,7 +190,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
{.name = "Lid Accel",
@@ -205,7 +206,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
};
diff --git a/board/ryu/board.c b/board/ryu/board.c
index d22646cdf4..ecddac664e 100644
--- a/board/ryu/board.c
+++ b/board/ryu/board.c
@@ -296,6 +296,7 @@ struct motion_sensor_t motion_sensors[] = {
.default_config = {
.odr = 100000,
.range = 8,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
@@ -310,8 +311,9 @@ struct motion_sensor_t motion_sensors[] = {
.i2c_addr = BMI160_ADDR0,
.rot_standard_ref = NULL,
.default_config = {
- .odr = 100000,
- .range = 2000
+ .odr = 0,
+ .range = 2000,
+ .ec_rate = MAX_MOTION_SENSE_WAIT_TIME,
}
},
@@ -326,8 +328,9 @@ struct motion_sensor_t motion_sensors[] = {
.i2c_addr = BMI160_ADDR0,
.rot_standard_ref = NULL,
.default_config = {
- .odr = 25000,
- .range = 1
+ .odr = 0,
+ .range = 1,
+ .ec_rate = MAX_MOTION_SENSE_WAIT_TIME,
}
},
};
diff --git a/board/ryu_sh/board.c b/board/ryu_sh/board.c
index dd2bb1fed6..9df92bb31f 100644
--- a/board/ryu_sh/board.c
+++ b/board/ryu_sh/board.c
@@ -59,7 +59,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = NULL,
.default_config = {
.odr = 119000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
@@ -75,7 +76,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = NULL,
.default_config = {
.odr = 119000,
- .range = 2000
+ .range = 2000,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
diff --git a/board/samus/board.c b/board/samus/board.c
index da7eeb6f32..c665f23a6d 100644
--- a/board/samus/board.c
+++ b/board/samus/board.c
@@ -309,7 +309,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.default_config = {
.odr = 119000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
@@ -325,7 +326,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
@@ -341,7 +343,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = NULL,
.default_config = {
.odr = 119000,
- .range = 2000
+ .range = 2000,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
diff --git a/board/strago/board.c b/board/strago/board.c
index 05c9761ac1..ac5a8a5c7f 100644
--- a/board/strago/board.c
+++ b/board/strago/board.c
@@ -130,7 +130,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
{.name = "Lid Accel",
@@ -145,7 +146,8 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.default_config = {
.odr = 100000,
- .range = 2
+ .range = 2,
+ .ec_rate = SUSPEND_SAMPLING_INTERVAL,
}
},
};