features_config.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  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_AUTOMATION
  7. #define TOTP_BADBT_AUTOMATION_ENABLED
  8. #endif
  9. // List of compatible firmwares
  10. #define TOTP_FIRMWARE_OFFICIAL_STABLE (1)
  11. #define TOTP_FIRMWARE_OFFICIAL_DEV (2)
  12. #define TOTP_FIRMWARE_XTREME_UL (3)
  13. // End of list
  14. // Checking FlipC.org definitions (https://github.com/playmean/fap-list/issues/9)
  15. #if defined(TARGET_FIRMWARE_OFFICIAL)
  16. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  17. #elif defined(TARGET_FIRMWARE_UNLEASHED)
  18. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  19. #elif defined(TARGET_FIRMWARE_XTREME)
  20. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  21. #endif
  22. // End of FlipC.org definition checks
  23. // 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:.
  24. // I'm still using Xtreme firmware, it is still the best one and I highly recommend it to everybody.
  25. #ifndef TOTP_TARGET_FIRMWARE
  26. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  27. #endif