Skip to content

Commit 1bd2dfd

Browse files
committed
Remove leftover debug code
1 parent 7063f05 commit 1bd2dfd

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

examples/mcpwm-simple.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ fn main() -> anyhow::Result<()> {
8383
println!("Starting duty-cycle loop");
8484

8585
let period_ticks = timer.get_period_peak();
86-
println!("period_ticks: {period_ticks}");
8786

8887
// TODO: Will this work as expected in UP_DOWN counter mode?
8988
for duty in (0..period_ticks).step_by(10).cycle() {

src/mcpwm/timer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ impl<const N: u8, G: Group> Timer<N, G> {
108108
};
109109
let mut handle: mcpwm_timer_handle_t = ptr::null_mut();
110110
unsafe {
111-
println!("cfg: {cfg:?}");
112111
esp!(mcpwm_new_timer(&cfg, &mut handle)).unwrap();
113112
}
114113
// TODO: note that this has to be called before mcpwm_timer_enable

0 commit comments

Comments
 (0)