cmsis-dap: Fix wrong handling when reading data not word-aligned

This commit is contained in:
Uwe Bonnes 2021-04-26 14:06:59 +02:00 committed by UweBonnes
parent 96bec7e3fb
commit 923edc7f7e
1 changed files with 0 additions and 1 deletions

View File

@ -420,7 +420,6 @@ unsigned int dap_read_block(ADIv5_AP_t *ap, void *dest, uint32_t src,
dest = extract(dest, src, *p, align);
p++;
src += (1 << align);
dest += (1 << align);
sz--;
}
}