Closed MaliaLabor closed 1 year ago
Added clamp function to pwm::frequency to clamp values between 1 Hz and 1 GHz. This allows callers and implementors to eliminate checks and clamping code by keeping them in a central place, which helps reduce code bloat.
Added clamp function to pwm::frequency to clamp values between 1 Hz and 1 GHz. This allows callers and implementors to eliminate checks and clamping code by keeping them in a central place, which helps reduce code bloat.