commit | 56b9e1661ceb3dd059b145cc47b4302c2456ee68 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Mar 04 17:59:41 2020 -0800 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Wed Mar 04 18:03:11 2020 -0800 |
tree | 064c7a59b4ecb233272aa3793eaa3e1324d8ac34 | |
parent | 46c91b0331838f159570616e8c2320b0e9fb5cc9 [diff] |
FindWithinFlashAreaDevOff: Fix bad compare This function was broken due to a typo in a comparison.
diff --git a/manifest/mfg_manifest.go b/manifest/mfg_manifest.go index 4ac6b74..95fd7d7 100644 --- a/manifest/mfg_manifest.go +++ b/manifest/mfg_manifest.go
@@ -155,7 +155,7 @@ fa := &m.FlashAreas[i] if fa.Device == device { end := fa.Offset + fa.Size - if offset >= offset && offset < end { + if offset >= fa.Offset && offset < end { return fa } }