Skip to content

Commit

Permalink
[adam] fix formatting code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Oct 11, 2023
1 parent a3b7d18 commit 54e6c35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/device/adamnet/disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54e6c35

Please sign in to comment.