From 3872ae2a1cde06620f27595f8eb7deeaf56d0f0a Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 16 May 2025 19:03:56 +0800 Subject: [PATCH] fix comment typo --- libs/cramium-hal/src/udma/spim.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cramium-hal/src/udma/spim.rs b/libs/cramium-hal/src/udma/spim.rs index 9d180a301..ff53ef0be 100644 --- a/libs/cramium-hal/src/udma/spim.rs +++ b/libs/cramium-hal/src/udma/spim.rs @@ -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