Replace uses of hal::watchdog::Watchdog with hal::Watchdog

This commit is contained in:
9names 2021-12-04 17:30:47 +11:00
parent dc8ceffd09
commit def0ed97f7
9 changed files with 9 additions and 9 deletions

View file

@ -52,7 +52,7 @@ fn main() -> ! {
let core = pac::CorePeripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
let clocks = hal::clocks::init_clocks_and_plls(

View file

@ -54,7 +54,7 @@ fn main() -> ! {
let core = pac::CorePeripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -43,7 +43,7 @@ fn main() -> ! {
let mut pac = pac::Peripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -66,7 +66,7 @@ fn main() -> ! {
let mut pac = pac::Peripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -60,7 +60,7 @@ fn main() -> ! {
let core = pac::CorePeripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -52,7 +52,7 @@ fn main() -> ! {
let mut pac = pac::Peripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -74,7 +74,7 @@ fn main() -> ! {
let core = pac::CorePeripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -72,7 +72,7 @@ fn main() -> ! {
let mut pac = pac::Peripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//

View file

@ -54,7 +54,7 @@ fn main() -> ! {
let core = pac::CorePeripherals::take().unwrap();
// Set up the watchdog driver - needed by the clock setup code
let mut watchdog = hal::watchdog::Watchdog::new(pac.WATCHDOG);
let mut watchdog = hal::Watchdog::new(pac.WATCHDOG);
// Configure the clocks
//