change to new function call

This commit is contained in:
none
2020-09-17 09:55:24 +02:00
committed by rjkm
parent 97a88de738
commit 8e39e291a0

View File

@@ -72,6 +72,7 @@ int sure()
int main(int argc, char **argv)
{
char ddbname[80];
char *flashname;
int type = 0;
struct ddb_id ddbid;
uint8_t *buffer;
@@ -147,7 +148,7 @@ int main(int argc, char **argv)
printf("Could not open device\n");
return -1;
}
Flash = flashdetect(ddb, &SectorSize, &FlashSize);
Flash = flashdetect(ddb, &SectorSize, &FlashSize, &flashname);
get_ddid(ddb, &ddbid);
#if 0