Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Harishguna Satgunarajah committed Oct 2, 2023
1 parent cca418f commit bb7b50c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ethernet-rtic-nucleo-h723zg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ use smoltcp::iface::{Config, Interface, SocketSet, SocketStorage};
use smoltcp::time::Instant;
use smoltcp::wire::{HardwareAddress, IpAddress, IpCidr};

use stm32h7xx_hal::{rcc::CoreClocks, stm32};
use stm32h7xx_hal::{
ethernet,
ethernet::{
RxDescriptor, RxDescriptorRing, TxDescriptor, TxDescriptorRing, MTU,
},
};
use stm32h7xx_hal::{rcc::CoreClocks, stm32};
/// Configure SYSTICK for 1ms timebase
fn systick_init(mut syst: stm32::SYST, clocks: CoreClocks) {
let c_ck_mhz = clocks.c_ck().to_MHz();
Expand Down Expand Up @@ -281,7 +281,7 @@ mod app {

#[task(binds = ETH, local = [net])]
fn ethernet_event(ctx: ethernet_event::Context) {
ethernet::eth_interrupt_handler();
ethernet::eth_interrupt_handler();

let time = TIME.load(Ordering::Relaxed);
ctx.local.net.poll(time as i64);
Expand Down

0 comments on commit bb7b50c

Please sign in to comment.