summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 34f754bda3..58a9085d55 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -94,16 +94,7 @@ bool dir_exists(const char *path);
94char *strip_extension(char* buffer, int buffer_size, const char *filename); 94char *strip_extension(char* buffer, int buffer_size, const char *filename);
95 95
96#ifdef HAVE_LCD_BITMAP 96#ifdef HAVE_LCD_BITMAP
97/* A simplified scanf */ 97bool parse_color(char *text, int *value);
98/*
99 * Checks whether the value at position 'position' was really read
100 * during a call to 'parse_list'
101 * - position: 0-based number of the value
102 * - valid_vals: value after the call to 'parse_list'
103 */
104#define LIST_VALUE_PARSED(setvals, position) ((setvals) & BIT_N(position))
105const char* parse_list(const char *fmt, uint32_t *set_vals,
106 const char sep, const char* str, ...);
107 98
108/* only used in USB HID and set_time screen */ 99/* only used in USB HID and set_time screen */
109#if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0) 100#if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0)