Skip to content

Commit 78841fd

Browse files
committed
Fixed some more APDU_return issues (fixes #9)
1 parent 28e3993 commit 78841fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IRMAcard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void main(void) {
252252
case INS_CHANGE_REFERENCE_DATA:
253253
debugMessage("Processing PIN change...");
254254
processPINChange();
255-
APDU_return();
255+
return;
256256

257257
//////////////////////////////////////////////////////////////
258258
// Unknown instruction byte (INS) //
@@ -287,7 +287,7 @@ void main(void) {
287287
case 0x30:
288288
debugMessage("Processing administration instruction...");
289289
processAdministration();
290-
APDU_return();
290+
return;
291291

292292
default:
293293
debugWarning("Unknown instruction");

0 commit comments

Comments
 (0)