Skip to content

stm32/hrtim: missing lifetimes in sub-parts. #2319

Open
@Dirbaio

Description

@Dirbaio

The HRTIM driver parts here should probably have a 'd lifetime, to prevent them from outliving the driver if it was created with &mut singletons.

pub master: Master<T>,
pub burst_controller: BurstController<T>,
pub ch_a: ChA<T>,
pub ch_b: ChB<T>,
pub ch_c: ChC<T>,
pub ch_d: ChD<T>,
pub ch_e: ChE<T>,
#[cfg(hrtim_v2)]
pub ch_f: ChF<T>,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions