diff options
Diffstat (limited to 'sst39sf020.c')
-rw-r--r-- | sst39sf020.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sst39sf020.c b/sst39sf020.c index 48a1d596..7e0853a0 100644 --- a/sst39sf020.c +++ b/sst39sf020.c @@ -128,7 +128,8 @@ int probe_39sf020 (struct flashchip * flash) myusec_delay(10); - printf(__FUNCTION__ "id1 %d, id2 %d\n", id1, id2); + printf("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, id1, id2); + if (id1 == flash->manufacture_id && id2 == flash->model_id) return 1; |