From 2423e42eb9ca3ec9f8fb25f3def9531b3567a867 Mon Sep 17 00:00:00 2001 From: "Jonathan Pallant (42 Technology)" Date: Mon, 11 Oct 2021 16:39:12 +0100 Subject: [PATCH] Clean up comments. --- rp2040-hal/src/rom_data.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/src/rom_data.rs b/rp2040-hal/src/rom_data.rs index 7c8ea46..4dd6111 100644 --- a/rp2040-hal/src/rom_data.rs +++ b/rp2040-hal/src/rom_data.rs @@ -144,8 +144,9 @@ rom_funcs_unsafe! { /// 4096 bytes. b"RE" flash_range_erase(addr: u32, count: usize, block_size: u32, block_cmd: u8) -> (); - /// Program data to a range of flash addresses starting at addr (offset from the start of flash) - /// and count bytesin size. addr must be aligned to a 256-byte boundary, and count must be a + /// Program data to a range of flash addresses starting at `addr` (and + /// offset from the start of flash) and `count` bytes in size. The value + /// `addr` must be aligned to a 256-byte boundary, and `count` must be a /// multiple of 256. b"RP" flash_range_program(addr: u32, data: *const u8, count: usize) -> ();