From 5b40a249b2bb71b5d3ce93374856312bcad14ed3 Mon Sep 17 00:00:00 2001 From: Nathan Hui Date: Fri, 20 Dec 2024 23:28:30 -0800 Subject: [PATCH] fix: Removes unused function --- src/cli/conio.cpp | 5 ----- src/cli/conio.hpp | 6 ------ 2 files changed, 11 deletions(-) diff --git a/src/cli/conio.cpp b/src/cli/conio.cpp index e361fa2..e4b3ca8 100644 --- a/src/cli/conio.cpp +++ b/src/cli/conio.cpp @@ -49,11 +49,6 @@ extern "C" #endif } - void SF_OSAL_flush_input(void) - { - read_tail_idx = read_head_idx; - } - int SF_OSAL_getch(void) { #if SF_PLATFORM == SF_PLATFORM_PARTICLE diff --git a/src/cli/conio.hpp b/src/cli/conio.hpp index 6526bad..dc1412c 100644 --- a/src/cli/conio.hpp +++ b/src/cli/conio.hpp @@ -63,12 +63,6 @@ extern "C" */ void SF_OSAL_deinit_conio(void); - /** - * @brief Flushes any input buffer - * - */ - void SF_OSAL_flush_input(void); - #ifdef __cplusplus } #endif