Commit 601c03c
mynewt: Fix flash_area_sector_from_off
Function was incorrectly filling sector data when
offset was set to the beginning of the sector.
It returned previous sector instead of correct one.
Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>1 parent 763be6a commit 601c03c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments