fix comment typo

This commit is contained in:
bunnie 2025-05-16 19:03:56 +08:00
parent 450c9153f2
commit 3872ae2a1c

View file

@ -1290,7 +1290,7 @@ impl Spim {
true
}
/// This routine can data that is strictly a multiple of a page length (256 bytes)
/// This routine can write data that is strictly a multiple of a page length (256 bytes)
pub fn mem_flash_write_page(&mut self, addr: u32, buf: &[u8; FLASH_PAGE_LEN]) -> bool {
// crate::println!("write_page: {:x}, {:x?}", addr, &buf[..8]);
// enable writes: set wren mode