From 282cf18a223a86f4b9e00e8ce0bc6d0a12f185a3 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 7 Apr 2024 14:10:03 +0200 Subject: [PATCH] pic32-hal v0.11.0; minor changes --- pic32-hal/Cargo.toml | 2 +- pic32-hal/src/i2c.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pic32-hal/Cargo.toml b/pic32-hal/Cargo.toml index 08298ed..0985d6d 100644 --- a/pic32-hal/Cargo.toml +++ b/pic32-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pic32-hal" -version = "0.10.1" +version = "0.11.0" authors = ["Stephan "] edition = "2021" description = "Hardware Abstraction Layer (HAL) for PIC32 microcontrollers" diff --git a/pic32-hal/src/i2c.rs b/pic32-hal/src/i2c.rs index de515c4..e262a10 100644 --- a/pic32-hal/src/i2c.rs +++ b/pic32-hal/src/i2c.rs @@ -1,12 +1,12 @@ //! I2C driver for PIC32 -use crate::pac::{I2C1, I2C2}; -use crate::time::Hertz; use crate::dma; use crate::int::InterruptSource; +use crate::pac::{I2C1, I2C2}; +use crate::time::Hertz; use embedded_hal::blocking; -use mips_mcu::PhysicalAddress; use mips_mcu::fmt::virt_to_phys; +use mips_mcu::PhysicalAddress; /// I2C clock frequency specifier /// The values of this enum correspond to the divisor values mentioned in the