File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ This function provides an indirect read of the external memory, using the
100100driver's specific interface. ` address ` is the offset from the beginning of the
101101addressable space in the device, ` data ` is a pointer where payload is stored upon a successful
102102call, 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.
103+ reads of any size and alignment. ` ext_flash_read ` should return the number of bytes read
104+ on success, or a negative value in case of failure.
105105
106106` int ext_flash_erase(uintptr_t address, int len) `
107107
You can’t perform that action at this time.
0 commit comments