You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/12/08 22:52:25 UTC
[4/4] incubator-mynewt-core git commit: bootutil - Fix incorrect
comment.
bootutil - Fix incorrect comment.
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/ea00890c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ea00890c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ea00890c
Branch: refs/heads/develop
Commit: ea00890c1196e61f7c98e87734056339914e628f
Parents: 1eef1ae
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Dec 8 14:52:40 2016 -0600
Committer: Christopher Collins <cc...@apache.org>
Committed: Thu Dec 8 16:21:13 2016 -0600
----------------------------------------------------------------------
boot/bootutil/src/bootutil_priv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ea00890c/boot/bootutil/src/bootutil_priv.h
----------------------------------------------------------------------
diff --git a/boot/bootutil/src/bootutil_priv.h b/boot/bootutil/src/bootutil_priv.h
index a0f57c4..79885ae 100644
--- a/boot/bootutil/src/bootutil_priv.h
+++ b/boot/bootutil/src/bootutil_priv.h
@@ -63,9 +63,9 @@ struct boot_status {
* ~ Swap status (variable, aligned) ~
* ~ ~
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- * | Copy done | 0xff padding (up to min-write-sz) ~
+ * | Copy done | 0xff padding (up to min-write-sz - 1) ~
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- * | Image OK | 0xff padding (up to min-write-sz) ~
+ * | Image OK | 0xff padding (up to min-write-sz - 1) ~
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*/