|
@@ -130,7 +130,7 @@ int process_packet(struct jump_rope_count_device *dev,
|
|
}
|
|
}
|
|
|
|
|
|
if (schmidt_trig(&dev->trig_gz, gz) == 1 &&
|
|
if (schmidt_trig(&dev->trig_gz, gz) == 1 &&
|
|
- schmidt_get(&dev->trig_gz) == 1 &&
|
|
|
|
|
|
+ schmidt_get(&dev->trig_gz) == 0 &&
|
|
dev->cy_suppress == 0)
|
|
dev->cy_suppress == 0)
|
|
{
|
|
{
|
|
*result = RESULT_TRIGGERED;
|
|
*result = RESULT_TRIGGERED;
|