diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/button.h | 2 | ||||
-rw-r--r-- | firmware/export/config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 3abad2d4f0..75a72ab66e 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include <inttypes.h> | 25 | #include <inttypes.h> |
26 | #include "config.h" | 26 | #include "config.h" |
27 | #ifndef __PCTOOL__ | 27 | #if defined(CHECKWPS) || !defined(__PCTOOL__) |
28 | #include "button-target.h" | 28 | #include "button-target.h" |
29 | #endif | 29 | #endif |
30 | 30 | ||
diff --git a/firmware/export/config.h b/firmware/export/config.h index 9812db9161..5ea5c71c70 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -915,7 +915,7 @@ Lyre prototype 1 */ | |||
915 | 915 | ||
916 | /* Enable the directory cache and tagcache in RAM if we have | 916 | /* Enable the directory cache and tagcache in RAM if we have |
917 | * plenty of RAM. Both features can be enabled independently. */ | 917 | * plenty of RAM. Both features can be enabled independently. */ |
918 | #if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && !defined(__PCTOOL__) \ | 918 | #if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && (defined(CHECKWPS) || !defined(__PCTOOL__)) \ |
919 | && !defined(APPLICATION) | 919 | && !defined(APPLICATION) |
920 | #ifndef SIMULATOR | 920 | #ifndef SIMULATOR |
921 | #define HAVE_DIRCACHE | 921 | #define HAVE_DIRCACHE |