From 54e6c35dcc6d7ce3d69dd62fe81003fa130b936c Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 11 Oct 2023 17:20:09 -0500 Subject: [PATCH] [adam] fix formatting code. --- lib/device/adamnet/disk.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/device/adamnet/disk.cpp b/lib/device/adamnet/disk.cpp index 0edcf660b..cc2514e0e 100755 --- a/lib/device/adamnet/disk.cpp +++ b/lib/device/adamnet/disk.cpp @@ -101,10 +101,7 @@ bool adamDisk::write_blank(FILE *fileh, uint32_t numBlocks) for (uint32_t b = 0; b < numBlocks; b++) { - if (b<13) - memset(buf, 0x00, 256); - else - memset(buf, 0xE5, 256); + memset(buf, 0xE5, 256); fwrite(buf, 1, 256, fileh); fwrite(buf, 1, 256, fileh);