ci
This commit is contained in:
parent
cde6e2b58b
commit
0813f42d08
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ impl<const BUFFER_SIZE: usize> BootLoader<BUFFER_SIZE> {
|
||||||
) -> Result<Self, BootError> {
|
) -> Result<Self, BootError> {
|
||||||
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
||||||
let mut boot = embassy_boot::BootLoader::new(config);
|
let mut boot = embassy_boot::BootLoader::new(config);
|
||||||
let state = boot.prepare_boot(aligned_buf.as_mut())?;
|
let _state = boot.prepare_boot(aligned_buf.as_mut())?;
|
||||||
Ok(Self)
|
Ok(Self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ impl<const BUFFER_SIZE: usize> BootLoader<BUFFER_SIZE> {
|
||||||
) -> Result<Self, BootError> {
|
) -> Result<Self, BootError> {
|
||||||
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
||||||
let mut boot = embassy_boot::BootLoader::new(config);
|
let mut boot = embassy_boot::BootLoader::new(config);
|
||||||
let state = boot.prepare_boot(aligned_buf.as_mut())?;
|
let _state = boot.prepare_boot(aligned_buf.as_mut())?;
|
||||||
Ok(Self { state })
|
Ok(Self)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Boots the application.
|
/// Boots the application.
|
||||||
|
|
Loading…
Reference in a new issue