File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 14
14
#define TOTP_FIRMWARE_XTREME (3)
15
15
// End of list
16
16
17
- // Target firmware to build for.
17
+ // Checking FlipC.org definitions (https://github.com/playmean/fap-list/issues/9)
18
+ #if defined(TARGET_FIRMWARE_OFFICIAL )
19
+ #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
20
+ #elif defined(TARGET_FIRMWARE_UNLEASHED )
21
+ #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_DEV
22
+ #elif defined(TARGET_FIRMWARE_XTREME )
23
+ #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME
24
+ #endif
25
+ // End of FlipC.org definition checks
26
+
27
+ // If target firmware is not yet set, default it to Xtreme as I'm using it, and it is cool :)
18
28
#ifndef TOTP_TARGET_FIRMWARE
19
- // Defaulting to Xtreme if not previously defined
20
29
#define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME
21
30
#endif
You can’t perform that action at this time.
0 commit comments