Add uint to char functions (#15244)

* Add uint to char functions

* appease the all mighty lint

* Further appease Lint

* Update functions

* Add doxygen comment

* Update quantum/quantum.c

Co-authored-by: Nick Brassel <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nick Brassel <[email protected]>

* Add declaration for get_numeric_string

* fix formatting and bug

Co-authored-by: Nick Brassel <[email protected]>
This commit is contained in:
Drashna JaelreandNick Brassel authored and GitHub committed 2021-11-23 08:13:22 +11:00
1 parent 3f656d54d3
commit 32a87d3517
2 files changed
+60

No files matched your search

+4
View File
@@ -245,3 +245,7 @@ void led_set_user(uint8_t usb_led);
void led_set_kb(uint8_t usb_led);
bool led_update_user(led_t led_state);
bool led_update_kb(led_t led_state);
const char *get_numeric_str(char *buf, size_t buf_len, uint32_t curr_num, char curr_pad);
const char *get_u8_str(uint8_t curr_num, char curr_pad);
const char *get_u16_str(uint16_t curr_num, char curr_pad);