summaryrefslogtreecommitdiff
path: root/src/user/knob/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/knob/user.c')
-rw-r--r--src/user/knob/user.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/user/knob/user.c b/src/user/knob/user.c
index c84977c..b642f79 100644
--- a/src/user/knob/user.c
+++ b/src/user/knob/user.c
@@ -134,23 +134,6 @@ void tell_user_sz(const char *sz) {
_log_string(sz);
}
-void tell_user_n(uint32_t n) {
- char buf[11];
- char *buf_ptr = buf;
- bool zero_yet = false;
- for (uint32_t d = 1000000000U; d; d /= 10) {
- uint8_t v = (n / d ) % 10;
- if (v || zero_yet) {
- zero_yet = true;
- *buf_ptr++ = v | '0';
- }
- }
- if (buf_ptr == buf)
- *buf_ptr++ = '0';
- *buf_ptr = '\0';
- tell_user_sz(buf);
-}
-
//return value and max_length don't include null terminator
uint32_t ask_user_line_sz(char *sz, uint32_t max_length) {
char log_buf[2];