From: Keith Packard Date: Fri, 6 Jan 2017 17:10:23 +0000 (-0800) Subject: ao-tools/ao-usbload: Pad image with 0xff instead of random bits X-Git-Tag: 1.7~103 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f0c187dd6479996b83f85b6decf303ec0fc70fe5;hp=f0c187dd6479996b83f85b6decf303ec0fc70fe5;p=fw%2Faltos ao-tools/ao-usbload: Pad image with 0xff instead of random bits Clear the temporary block to 0xff before copying in the target data so that any unused bytes end up being left at 0xff instead of inheriting whatever data was in the block before. Signed-off-by: Keith Packard ---