Align examples with bootloader changes

This commit is contained in:
Rasmus Melchior Jacobsen
2023-04-04 22:44:21 +02:00
parent a77ce1088d
commit 84bfe9b8c9
5 changed files with 11 additions and 10 deletions

View File

@ -16,7 +16,7 @@ pub struct BootLoader<const BUFFER_SIZE: usize = PAGE_SIZE> {
aligned_buf: AlignedBuffer<BUFFER_SIZE>,
}
impl<const BUFFER_SIZE: usize> Default for BootLoader<BUFFER_SIZE> {
impl Default for BootLoader<PAGE_SIZE> {
/// Create a new bootloader instance using parameters from linker script
fn default() -> Self {
extern "C" {