Skip to content

Commit

Permalink
Update examples rebased on main
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Jul 14, 2022
1 parent 768e6d0 commit 623d4d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion esp32-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() -> ! {
let clocks = ClockControl::boot_defaults(system.clock_control).freeze();

// Disable the TIMG watchdog timer.
let mut timer0 = Timer::new(peripherals.TIMG0);
let mut timer0 = Timer::new(peripherals.TIMG0, clocks.apb_clock);
let mut rtc_cntl = RtcCntl::new(peripherals.RTC_CNTL);

esp_println::println!("Hello esp_println!");
Expand Down
2 changes: 1 addition & 1 deletion esp32s2-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() -> ! {
let clocks = ClockControl::boot_defaults(system.clock_control).freeze();

// Disable the TIMG watchdog timer.
let mut timer0 = Timer::new(peripherals.TIMG0);
let mut timer0 = Timer::new(peripherals.TIMG0, clocks.apb_clock);
let mut rtc_cntl = RtcCntl::new(peripherals.RTC_CNTL);

esp_println::println!("Hello esp_println!");
Expand Down
2 changes: 1 addition & 1 deletion esp32s3-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() -> ! {
let clocks = ClockControl::boot_defaults(system.clock_control).freeze();

// Disable the TIMG watchdog timer.
let mut timer0 = Timer::new(peripherals.TIMG0);
let mut timer0 = Timer::new(peripherals.TIMG0, clocks.apb_clock);
let mut rtc_cntl = RtcCntl::new(peripherals.RTC_CNTL);

esp_println::println!("Hello esp_println!");
Expand Down

0 comments on commit 623d4d6

Please sign in to comment.