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:
parent
1784a361ad
commit
e0481f37bb
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user