Revert "Add new() method to PwmBatch so it can be istantiated."

This reverts commit 31662eaeef.
This commit is contained in:
Vincenzo Marturano 2024-10-24 16:20:28 +02:00
parent 31662eaeef
commit 052463212b

View File

@ -406,10 +406,6 @@ impl SetDutyCycle for PwmOutput {
pub struct PwmBatch(u32);
impl PwmBatch {
#[inline]
pub fn new() -> Self{
Self(0)
}
#[inline]
/// Enable a PWM slice in this batch.
pub fn enable(&mut self, pwm: &Pwm<'_>) {