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

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