diff options
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index a8ed6029a3..857d9ab4da 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -92,6 +92,7 @@ bool dir_exists(const char *path); | |||
92 | */ | 92 | */ |
93 | char *strip_extension(char* buffer, int buffer_size, const char *filename); | 93 | char *strip_extension(char* buffer, int buffer_size, const char *filename); |
94 | 94 | ||
95 | #ifdef HAVE_LCD_BITMAP | ||
95 | /* A simplified scanf */ | 96 | /* A simplified scanf */ |
96 | /* | 97 | /* |
97 | * Checks whether the value at position 'position' was really read | 98 | * Checks whether the value at position 'position' was really read |
@@ -103,4 +104,10 @@ char *strip_extension(char* buffer, int buffer_size, const char *filename); | |||
103 | const char* parse_list(const char *fmt, uint32_t *set_vals, | 104 | const char* parse_list(const char *fmt, uint32_t *set_vals, |
104 | const char sep, const char* str, ...); | 105 | const char sep, const char* str, ...); |
105 | 106 | ||
107 | /* only used in USB HID and set_time screen */ | ||
108 | #if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0) | ||
109 | int clamp_value_wrap(int value, int max, int min); | ||
110 | #endif | ||
111 | #endif | ||
112 | |||
106 | #endif /* MISC_H */ | 113 | #endif /* MISC_H */ |