Skip to content

Commit

Permalink
fixup! feat(device-id): Advertise not-implemented type where not impl…
Browse files Browse the repository at this point in the history
…emented

See-Also: future-proof-iot#444 (comment)
  • Loading branch information
chrysn committed Sep 30, 2024
1 parent d37d581 commit 39d5fe0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/riot-rs-embassy/src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ pub mod hwrng;
pub mod i2c;

pub mod identity {
use riot_rs_embassy_common::identity::*;
use riot_rs_embassy_common::identity;

pub type DeviceId = NoDeviceId<NotImplemented>;
pub type DeviceId = identity::NoDeviceId<identity::NotImplemented>;
}

#[cfg(feature = "usb")]
Expand Down
4 changes: 2 additions & 2 deletions src/riot-rs-esp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ pub mod gpio;
pub mod i2c;

pub mod identity {
use riot_rs_embassy_common::identity::*;
use riot_rs_embassy_common::identity;

pub type DeviceId = NoDeviceId<NotImplemented>;
pub type DeviceId = identity::NoDeviceId<identity::NotImplemented>;
}

#[cfg(feature = "wifi")]
Expand Down
4 changes: 2 additions & 2 deletions src/riot-rs-rp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pub mod hwrng;
pub mod i2c;

pub mod identity {
use riot_rs_embassy_common::identity::*;
use riot_rs_embassy_common::identity;

pub type DeviceId = NoDeviceId<NotImplemented>;
pub type DeviceId = identity::NoDeviceId<identity::NotImplemented>;
}

#[cfg(feature = "usb")]
Expand Down

0 comments on commit 39d5fe0

Please sign in to comment.