diff --git a/examples/mifare-desfire-create-ndef.c b/examples/mifare-desfire-create-ndef.c index e95c860..d2a6ee6 100644 --- a/examples/mifare-desfire-create-ndef.c +++ b/examples/mifare-desfire-create-ndef.c @@ -153,7 +153,9 @@ main(int argc, char *argv[]) break; case 1: ndef_mapping = 2; + break; default: // newer version? let's assume it supports latest mapping too + warnx("Software version not supported. Assuming backward compatibility with version 1."); ndef_mapping = 2; } if (create_options.interactive) {