Skip to content

Stepper API: Refactor enable function to enable/disable #87229

Open
@jilaypandya

Description

@jilaypandya

Introduction

Problem description

Stepper API has one function for enabling/disabling the stepper controller, namely,
int stepper_enable (const struct device* dev, const bool)

Proposed change

Split the function into two separate functions:

  1. int stepper_enable(const struct device* dev)
  2. int stepper_disable(const struct device* dev)

Detailed RFC

Proposed change (Detailed)

Following files will have to be refactored:

API:

Drivers:

Docs:

Tests:

Entry in migration guide:

Dependencies

Concerns and Unresolved Questions

Alternatives

Metadata

Metadata

Assignees

Labels

EnhancementChanges/Updates/Additions to existing featuresRFCRequest For Comments: want input from the communityarea: Stepper

Type

No type

Projects

  • Status

    No status

Relationships

None yet

Development

No branches or pull requests

Issue actions