Skip to content

lis2mdl: Make status() private. #152

@nedseb

Description

@nedseb

Sub-issue of #79.

Context

The status() method returns the raw STATUS register value, which is a hardware implementation detail. Public API should use data_ready() and per-channel *_ready() methods instead.

TODO

  • Rename status()_status() in device.py
  • Update all internal callers (data_ready(), *_ready(), _ensure_data(), etc.)
  • Update tests referencing status()

Metadata

Metadata

Assignees

No one assigned

    Labels

    driverConcerne un driver spécifiquerefactorNettoyage/harmonisation sans changement fonctionnel

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions