Skip to content

Commit

Permalink
fix: v303 compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 9, 2024
1 parent 16edcfa commit 7d5d975
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- ch32v103c8t6
- ch32v203f8u6
- ch32v208wbu6
- ch32v303vct6
- ch32v303cbt6
- ch32v305fbp6
- ch32v307vct6
- ch32x035f7p6
Expand All @@ -39,7 +39,7 @@ jobs:
target: riscv32imc-unknown-none-elf
- chip: ch32v208wbu6
target: riscv32imc-unknown-none-elf
- chip: ch32v303vct6
- chip: ch32v303cbt6
# use rv32imc because ri32imfc does not exist, hal should not use FP anyways
target: riscv32imc-unknown-none-elf
- chip: ch32v305fbp6
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ fn main() {
let ch: u8 = pin.signal.strip_prefix("OUT").unwrap().parse().unwrap();

g.extend(quote! {
impl_dac_pin!( #peri, #pin_name, #ch);
impl_dac_pin!( #peri, #pin_name, #ch);
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub mod dma;

#[cfg(adc)]
pub mod adc;
#[cfg(peri_dac1)]
#[cfg(dac)]
pub mod dac;
pub mod exti;
pub mod gpio;
Expand Down

0 comments on commit 7d5d975

Please sign in to comment.