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/develop
Commit: 604c05d7faed3da4f003ba928927d18d6e9f9011
Parents: b0b89a3
Author: Fabio Utzig <[email protected]>
Authored: Fri Jan 20 07:29:04 2017 -0200
Committer: Marko Kiiskila <[email protected]>
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;

Reply via email to