summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
index 1ca28242..d7fdc17f 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
@@ -551,7 +551,7 @@ public class PinpadCardReader extends DefaultCardReader {
s.write((0xF & apduSpec.getPinLengthSize()) << 4
| (0xF & apduSpec.getPinLength()));
// bmPINLengthFormat
- s.write(// system unit = bit
+ s.write(// system unit = byte
(0xF & apduSpec.getPinLengthPos()));
// wPINMaxExtraDigit (little endian)
s.write(Math.min(pinSpec.getMaxLength(), wPINMaxExtraDigitMax)); // max PIN length