mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Fix memory size in extram test
This commit is contained in:
parent
9ca720d35c
commit
978ddb52f0
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ void test_extram_short_write(void) {
|
|||
|
||||
// check that short 7 only of extram has changed
|
||||
uint16_t *p = (uint16_t *)extram;
|
||||
for (int i=0;i<sizeof(extram);i++) {
|
||||
for (int i=0;i<sizeof(extram)/2;i++) {
|
||||
if (i == 7) {
|
||||
TEST_ASSERT_EQUAL(0xABCD, p[i]);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue