Commit feb1023
committed
test_program_read_small_data_sizes: get erase size specific to the sector we use
The test case only uses one specific sector, but the erase size
is obtained for the whole block device instead. This doesn't work
if different regions of the flash don't have a common erase size.
Fix the issue by getting the erase size at the address we use.1 parent 54f0f56 commit feb1023
File tree
1 file changed
+1
-1
lines changed- storage/blockdevice/tests/TESTS/blockdevice/general_block_device
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
588 | 587 | | |
589 | 588 | | |
590 | 589 | | |
| |||
606 | 605 | | |
607 | 606 | | |
608 | 607 | | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| |||
0 commit comments