We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0f0de9 + 6030e15 commit 94c6b78Copy full SHA for 94c6b78
1 file changed
docs/HAL.md
@@ -100,8 +100,8 @@ This function provides an indirect read of the external memory, using the
100
driver's specific interface. `address` is the offset from the beginning of the
101
addressable space in the device, `data` is a pointer where payload is stored upon a successful
102
call, and `len` is the maximum size allowed for the payload. This function must be able to handle
103
-reads of any size and alignment. `ext_flash_read` should return 0 upon success, or a negative value
104
-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.
105
106
`int ext_flash_erase(uintptr_t address, int len)`
107
0 commit comments