comment out custom header code

This commit is contained in:
Ralph Metzler 2016-02-25 19:42:13 +01:00 committed by mvoelkel
parent 472cacb0c4
commit 19fd6f1b26
1 changed files with 2 additions and 0 deletions

View File

@ -1033,6 +1033,7 @@ int FlashVerify(int dev,int argc, char* argv[],uint32_t Flags)
read(fh,Buffer,fsize); read(fh,Buffer,fsize);
close(fh); close(fh);
#if 0
if( BufferSize >= 0x10000 ) if( BufferSize >= 0x10000 )
{ {
int i; int i;
@ -1044,6 +1045,7 @@ int FlashVerify(int dev,int argc, char* argv[],uint32_t Flags)
} }
// Place our own header // Place our own header
} }
#endif
if (flashread(dev, Buffer2, FlashOffset, BufferSize)<0) { if (flashread(dev, Buffer2, FlashOffset, BufferSize)<0) {
printf("Ioctl returns error\n"); printf("Ioctl returns error\n");
free(Buffer); free(Buffer);