Files
Momentum-Firmware/applications/external/totp/config/app/config.h
2023-08-13 03:02:22 +02:00

43 lines
1.2 KiB
C

// Application automatic lock timeout if user IDLE. (ticks)
#ifndef TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC
#define TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC (60)
#endif
// Enables\disables Bluetooth token input automation
#ifndef TOTP_NO_BADBT_AUTOMATION
#define TOTP_BADBT_AUTOMATION_ENABLED
#endif
// Enables\disables backward compatibility with crypto algorithms v1
#ifndef TOTP_NO_OBSOLETE_CRYPTO_V1_COMPATIBILITY
#define TOTP_OBSOLETE_CRYPTO_V1_COMPATIBILITY_ENABLED
#endif
// Enables\disables backward compatibility with crypto algorithms v2
#ifndef TOTP_NO_OBSOLETE_CRYPTO_V2_COMPATIBILITY
#define TOTP_OBSOLETE_CRYPTO_V2_COMPATIBILITY_ENABLED
#endif
// Enables\disables userfriendly TOTP CLI help text
// If disabled, it will print a link to a wiki page
#ifndef TOTP_CLI_NO_RICH_HELP
#define TOTP_CLI_RICH_HELP_ENABLED
#endif
// Enables\disables "Add new token" UI
// If disabled it will print a link to wiki page
#ifndef TOTP_UI_NO_ADD_NEW_TOKEN
#define TOTP_UI_ADD_NEW_TOKEN_ENABLED
#endif
// List of compatible firmwares
#define TOTP_FIRMWARE_OFFICIAL_STABLE (1)
#define TOTP_FIRMWARE_OFFICIAL_DEV (2)
#define TOTP_FIRMWARE_XTREME_UL (3)
// End of list
// Target firmware
#ifndef TOTP_TARGET_FIRMWARE
#define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
#endif