|
@@ -8,7 +8,7 @@
|
|
|
struct jump_rope_count_config
|
|
|
{
|
|
|
float lg, hg, la, ha, lgz, hgz, a_g_window;
|
|
|
- int cy_window, cy_crit, cy_suppress_time;
|
|
|
+ int cy_window, cy_crit, cy_suppress_time, wait_time;
|
|
|
};
|
|
|
|
|
|
struct jump_rope_count_device
|
|
@@ -16,8 +16,8 @@ struct jump_rope_count_device
|
|
|
struct schmidt trig_g, trig_a, trig_gz;
|
|
|
struct ringbuf rbuf_g, rbuf_a;
|
|
|
struct monotonic_queue mq_min_cy, mq_max_cy;
|
|
|
- int cy_window, cy_crit, cy_suppress_time;
|
|
|
- int cy_suppress;
|
|
|
+ int cy_window, cy_crit, cy_suppress_time, wait_time;
|
|
|
+ int cy_suppress, remain_time;
|
|
|
};
|
|
|
|
|
|
struct sensor_packet
|