You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2017/01/24 03:03:25 UTC
[39/50] incubator-mynewt-core git commit: This closes #162.
This closes #162.
Rebase on latest develop - fix compile error
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/604c05d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/604c05d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/604c05d7
Branch: refs/heads/sensors_branch
Commit: 604c05d7faed3da4f003ba928927d18d6e9f9011
Parents: b0b89a3
Author: Fabio Utzig <ut...@utzig.org>
Authored: Fri Jan 20 07:29:04 2017 -0200
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Jan 20 10:14:44 2017 -0800
----------------------------------------------------------------------
sys/flash_map/src/flash_map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/604c05d7/sys/flash_map/src/flash_map.c
----------------------------------------------------------------------
diff --git a/sys/flash_map/src/flash_map.c b/sys/flash_map/src/flash_map.c
index 3c1f9b1..c3248c0 100644
--- a/sys/flash_map/src/flash_map.c
+++ b/sys/flash_map/src/flash_map.c
@@ -69,7 +69,7 @@ flash_read_sector(int device_id, int sector_idx, struct flash_area *out_sect)
uint32_t size;
hf = hal_bsp_flash_dev(device_id);
- hf->hf_itf->hff_sector_info(sector_idx, &start, &size);
+ hf->hf_itf->hff_sector_info(hf, sector_idx, &start, &size);
if (out_sect != NULL) {
out_sect->fa_device_id = device_id;
out_sect->fa_off = start;