Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthbdn committed Dec 3, 2023
1 parent 3d27199 commit c7889cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rp2040-hal/examples/rtc_irq_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn main() -> ! {
// day and time (it may not have been a Monday but it doesn't matter for this example).
let mut rtc = hal::rtc::RealTimeClock::new(
pac.RTC,
clocks.rtc_clock,
&clocks.rtc_clock,
&mut pac.RESETS,
rtc::DateTime {
year: 0,
Expand Down
2 changes: 1 addition & 1 deletion rp2040-hal/examples/rtc_sleep_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn main() -> ! {
// day and time (it may not have been a Monday but it doesn't matter for this example.).
let mut rtc = hal::rtc::RealTimeClock::new(
pac.RTC,
clocks.rtc_clock,
&clocks.rtc_clock,
&mut pac.RESETS,
rtc::DateTime {
year: 0,
Expand Down

0 comments on commit c7889cf

Please sign in to comment.