features_config.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Application automatic lock timeout if user IDLE. (ticks)
  2. #ifndef TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC
  3. #define TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC (60)
  4. #endif
  5. // Include Bluetooth token input automation
  6. #ifndef TOTP_NO_BADBT_TYPE
  7. #define TOTP_BADBT_TYPE_ENABLED
  8. #endif
  9. // Include token input automation icons on the main screen
  10. #ifndef TOTP_NO_AUTOMATION_ICONS
  11. #define TOTP_AUTOMATION_ICONS_ENABLED
  12. #endif
  13. // List of compatible firmwares
  14. #define TOTP_FIRMWARE_OFFICIAL_STABLE (1)
  15. #define TOTP_FIRMWARE_OFFICIAL_DEV (2)
  16. #define TOTP_FIRMWARE_XTREME_UL (3)
  17. // End of list
  18. // Checking FlipC.org definitions (https://github.com/playmean/fap-list/issues/9)
  19. #if defined(TARGET_FIRMWARE_OFFICIAL)
  20. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  21. #elif defined(TARGET_FIRMWARE_UNLEASHED)
  22. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  23. #elif defined(TARGET_FIRMWARE_XTREME)
  24. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  25. #endif
  26. // End of FlipC.org definition checks
  27. // If target firmware is not yet set, default it to OFW because there is no chance to force Flipper Devices to update their build pipelines :angry:.
  28. // I'm still using Xtreme firmware, it is still the best one and I highly recommend it to everybody.
  29. #ifndef TOTP_TARGET_FIRMWARE
  30. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  31. #endif