1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

allow larger images

This commit is contained in:
Ralph Metzler 2019-11-04 19:10:20 +01:00
parent 1784a361ad
commit e0481f37bb

View File

@ -477,7 +477,7 @@ int FlashProg(int dev,int argc, char* argv[],uint32_t Flags)
int fsize = lseek(fh,0,SEEK_END); int fsize = lseek(fh,0,SEEK_END);
if( fsize > 4000000 || fsize < SectorSize ) if( fsize > 5000000 || fsize < SectorSize )
{ {
close(fh); close(fh);
printf("Invalid File Size \n"); printf("Invalid File Size \n");