rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
1.95k stars 197 forks source link

Rename `SetDutyCycle::get_max_duty_cycle` #524

Closed madsmtm closed 10 months ago

madsmtm commented 10 months ago

The get_ prefix is discouraged as per the Rust API Guidelines, the method should be named max_duty_cycle.

Dirbaio commented 10 months ago

LGTM, can you send a PR?