summaryrefslogtreecommitdiff
path: root/smcc/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'smcc/src/main/java/at')
-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