diff --git a/src/char/char.hpp b/src/char/char.hpp index a21811fa7d..b43378c521 100644 --- a/src/char/char.hpp +++ b/src/char/char.hpp @@ -101,7 +101,12 @@ enum pincode_state : uint8 { #if 0 PINCODE_KSSN = 6, // Not supported since we do not store KSSN #endif +#if PACKETVER >= 20180124 + // The button for pin code access was removed + PINCODE_PASSED = PINCODE_OK, +#else PINCODE_PASSED = 7, +#endif PINCODE_WRONG = 8, PINCODE_MAXSTATE };