|
2 | 2 |
|
3 | 3 | /// Standard 11-bit CAN Identifier (`0..=0x7FF`). |
4 | 4 | #[derive(Debug, Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)] |
5 | | -#[cfg_attr(feature = "defmt-03", derive(defmt::Format))] |
| 5 | +#[cfg_attr(feature = "defmt", derive(defmt::Format))] |
6 | 6 | pub struct StandardId(u16); |
7 | 7 |
|
8 | 8 | impl StandardId { |
@@ -45,7 +45,7 @@ impl StandardId { |
45 | 45 |
|
46 | 46 | /// Extended 29-bit CAN Identifier (`0..=1FFF_FFFF`). |
47 | 47 | #[derive(Debug, Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)] |
48 | | -#[cfg_attr(feature = "defmt-03", derive(defmt::Format))] |
| 48 | +#[cfg_attr(feature = "defmt", derive(defmt::Format))] |
49 | 49 | pub struct ExtendedId(u32); |
50 | 50 |
|
51 | 51 | impl ExtendedId { |
@@ -95,7 +95,7 @@ impl ExtendedId { |
95 | 95 |
|
96 | 96 | /// A CAN Identifier (standard or extended). |
97 | 97 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] |
98 | | -#[cfg_attr(feature = "defmt-03", derive(defmt::Format))] |
| 98 | +#[cfg_attr(feature = "defmt", derive(defmt::Format))] |
99 | 99 | pub enum Id { |
100 | 100 | /// Standard 11-bit Identifier (`0..=0x7FF`). |
101 | 101 | Standard(StandardId), |
|
0 commit comments