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 <nick@tzarc.org> * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * Add declaration for get_numeric_string * fix formatting and bug Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
3f656d54d3
commit
32a87d3517
2 changed files with 60 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue