mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-28 01:32:37 +00:00
ci
This commit is contained in:
parent
cde6e2b58b
commit
0813f42d08
@ -29,7 +29,7 @@ impl<const BUFFER_SIZE: usize> BootLoader<BUFFER_SIZE> {
|
||||
) -> Result<Self, BootError> {
|
||||
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
||||
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)
|
||||
}
|
||||
|
||||
|
@ -30,8 +30,8 @@ impl<const BUFFER_SIZE: usize> BootLoader<BUFFER_SIZE> {
|
||||
) -> Result<Self, BootError> {
|
||||
let mut aligned_buf = AlignedBuffer([0; BUFFER_SIZE]);
|
||||
let mut boot = embassy_boot::BootLoader::new(config);
|
||||
let state = boot.prepare_boot(aligned_buf.as_mut())?;
|
||||
Ok(Self { state })
|
||||
let _state = boot.prepare_boot(aligned_buf.as_mut())?;
|
||||
Ok(Self)
|
||||
}
|
||||
|
||||
/// Boots the application.
|
||||
|
Loading…
Reference in New Issue
Block a user