Skip to content

Commit a400e5b

Browse files
authored
Merge branch 'stm32-rs:main' into rng
2 parents e67030d + 62272cb commit a400e5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cordic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ pub mod op {
850850
(CosH<N1>, One, One, CosH),
851851
(SinH<N1>, One, One, SinH),
852852
(SinHCosH<N1>, One, Two, SinH),
853-
(ATanH<N1>, One, One, ATan),
853+
(ATanH<N1>, One, One, ATanH),
854854
}
855855

856856
impls_multi_scale! {

src/flash.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ pub struct Parts {
428428
}
429429
impl Parts {
430430
#[cfg(any(feature = "stm32g431", feature = "stm32g441",))]
431-
pub fn writer(&mut self, flash_sz: FlashSize) -> FlashWriter<{ 2 * SZ_1K }> {
431+
pub fn writer(&mut self, flash_sz: FlashSize) -> FlashWriter<'_, { 2 * SZ_1K }> {
432432
FlashWriter {
433433
flash: self,
434434
flash_sz,
@@ -446,7 +446,7 @@ impl Parts {
446446
pub fn writer<const PAGE_SIZE_KB: u32>(
447447
&mut self,
448448
flash_sz: FlashSize,
449-
) -> FlashWriter<PAGE_SIZE_KB> {
449+
) -> FlashWriter<'_, PAGE_SIZE_KB> {
450450
FlashWriter {
451451
flash: self,
452452
flash_sz,

0 commit comments

Comments
 (0)