Skip to content

Commit 901560e

Browse files
drashnatzarc
andcommitted
Update quantum/quantum.c
Co-authored-by: Nick Brassel <[email protected]>
1 parent 4894599 commit 901560e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

quantum/quantum.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ __attribute__((weak)) void suspend_wakeup_init_quantum(void) {
576576
*
577577
* Takes an unsigned integer, and uses a static conversion buffer to convert that value into a
578578
* char array
579+
* NOTE: Subsequent invocations will reuse the same static buffer and overwrite the previous
580+
* contents. Use the result immediately, instead of caching it.
579581
*/
580582

581583
const char *get_numeric_str(char *buf, size_t buf_len, uint32_t curr_num, char curr_pad) {

0 commit comments

Comments
 (0)