Skip to content

Commit 48db054

Browse files
author
Henrik Snöman
committed
Added defmt to ci
1 parent 0f24906 commit 48db054

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- stm32h563
2222
- stm32h573
2323
env: # Peripheral Feature flags
24-
FLAGS: rt,log
24+
FLAGS: rt,log,defmt
2525

2626
steps:
2727
- uses: actions/checkout@v4

src/rcc/pll.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ impl Default for PllConfig {
4343
}
4444

4545
#[derive(Debug)]
46-
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
4746
struct VcoRange {
4847
output_range: RangeInclusive<u32>,
4948
input_range: RangeInclusive<u32>,
@@ -69,7 +68,6 @@ struct PllOutput {
6968
}
7069

7170
#[derive(Debug)]
72-
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
7371
struct PllSetup {
7472
vco_range: VcoRange,
7573
vco_out_target: u32,

src/rcc/reset_reason.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ pub fn get_reset_reason(rcc: &mut crate::stm32::RCC) -> ResetReason {
5454

5555
/// Gives the reason why the mcu was reset
5656
#[derive(Debug, Copy, Clone)]
57-
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
5857
pub enum ResetReason {
5958
/// The mcu went from not having power to having power and resetting
6059
PowerOnReset,

0 commit comments

Comments
 (0)