Skip to content

state->active_contacts can cause confusion in some cases. #22

@1514599514

Description

@1514599514

state->active_contacts在某些情况下, 会导致错乱.

touch_panic_reset_all()被调用后, 所有触点将会强制设置成3.
如果跳过case 1: // WENT_DOWN的执行, 那就导致计数错乱.

state->active_contacts can cause confusion in some cases.

After touch_panic_reset_all() is called, all contacts will be forcibly set to 3.
If the execution of case 1: // WENT_DOWN is skipped, it will lead to count confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions