add "hex+text" input

This commit is contained in:
Edward Emelianov
2026-03-14 23:44:54 +03:00
parent 57a44f1c66
commit 27eb723d80
5 changed files with 87 additions and 17 deletions

View File

@@ -43,6 +43,7 @@ void hexdump(int (*sendfun)(const char *s), uint8_t *arr, uint16_t len);
const char *u2str(uint32_t val);
const char *i2str(int32_t i);
const char *uhex2str(uint32_t val);
const char *gethex(const char *buf, uint32_t *N);
char *getnum(const char *txt, uint32_t *N);
char *omit_spaces(const char *buf);
char *getint(const char *txt, int32_t *I);