Merge pull request #566 from craigblackmore/cb-read-progbuf-comment

Fix comment in read_memory_progbuf
This commit is contained in:
Tim Newsome 2021-01-14 12:54:58 -08:00 committed by GitHub
commit d7db23c6fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3451,8 +3451,8 @@ static int read_memory_progbuf(struct target *target, target_addr_t address,
if (modify_privilege(target, &mstatus, &mstatus_old) != ERROR_OK)
return ERROR_FAIL;
/* s0 holds the next address to write to
* s1 holds the next data value to write
/* s0 holds the next address to read from
* s1 holds the next data value read
* s2 is a counter in case increment is 0
*/
uint64_t s0, s1, s2;