Merge pull request #594 from danielinux/docfix-ext_flash_read

Fixed misaligned documentation (ext_flash_read return value)
pull/595/head
Marco Oliverio 2025-09-23 15:28:05 +02:00 committed by GitHub
commit 94c6b78e08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ This function provides an indirect read of the external memory, using the
driver's specific interface. `address` is the offset from the beginning of the
addressable space in the device, `data` is a pointer where payload is stored upon a successful
call, and `len` is the maximum size allowed for the payload. This function must be able to handle
reads of any size and alignment. `ext_flash_read` should return 0 upon success, or a negative value
in case of failure.
reads of any size and alignment. `ext_flash_read` should return the number of bytes read
on success, or a negative value in case of failure.
`int ext_flash_erase(uintptr_t address, int len)`