config.h 820 B

123456789101112131415161718192021222324252627
  1. #if __has_include("ufbt_def.h")
  2. #include "ufbt_def.h"
  3. #endif
  4. // Application automatic lock timeout if user IDLE. (ticks)
  5. #ifndef TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC
  6. #define TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC (60)
  7. #endif
  8. // Enables\disables Bluetooth token input automation
  9. #ifndef TOTP_NO_BADBT_AUTOMATION
  10. #define TOTP_BADBT_AUTOMATION_ENABLED
  11. #endif
  12. // Enables\disables backward compatibility with crypto algorithms v1
  13. // #define TOTP_OBSOLETE_CRYPTO_V1_COMPATIBILITY_ENABLED
  14. // Enables\disables backward compatibility with crypto algorithms v2
  15. #ifndef TOTP_NO_OBSOLETE_CRYPTO_V2_COMPATIBILITY
  16. #define TOTP_OBSOLETE_CRYPTO_V2_COMPATIBILITY_ENABLED
  17. #endif
  18. // Enables\disables "Add new token" UI
  19. // If disabled it will print a link to wiki page
  20. #ifndef TOTP_UI_NO_ADD_NEW_TOKEN
  21. #define TOTP_UI_ADD_NEW_TOKEN_ENABLED
  22. #endif