diff --git a/platform/posix/stdin_support.c b/platform/posix/stdin_support.c index f6ce1f034..0766d6029 100644 --- a/platform/posix/stdin_support.c +++ b/platform/posix/stdin_support.c @@ -110,19 +110,3 @@ static int getstring(char *line, int size) return i; } -uint32_t btstack_stdin_query_int(const char * fieldName){ - printf("Please enter new int value for %s:\n", fieldName); - char buffer[80]; - getstring(buffer, sizeof(buffer)); - return atoi(buffer); -} - -uint32_t btstack_stdin_query_hex(const char * fieldName){ - printf("Please enter new hex value for %s:\n", fieldName); - char buffer[80]; - getstring(buffer, sizeof(buffer)); - uint32_t value; - sscanf(buffer, "%x", &value); - return value; -} - diff --git a/platform/posix/stdin_support.h b/platform/posix/stdin_support.h index ce6fdc70f..ff57ea26f 100644 --- a/platform/posix/stdin_support.h +++ b/platform/posix/stdin_support.h @@ -50,10 +50,6 @@ void btstack_stdin_setup(void (*stdin_handler)(btstack_data_source_t *_ds, btsta // gets called by main.c void btstack_stdin_reset(void); -// -uint32_t btstack_stdin_query_int(const char * fieldName); -uint32_t btstack_stdin_query_hex(const char * fieldName); - #if defined __cplusplus } #endif