mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-30 06:33:07 +00:00
ebd158a823
* Lib: add random name library * Text_input: add default text clearing * All: rework all applications with new text_input API * Nfc: fix removing dev file on save_name scene enter * Lib: move all free radicals to toolbox and update API usage. Co-authored-by: あく <alleteam@gmail.com>
17 lines
281 B
C
17 lines
281 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Generates random name
|
|
* @param name buffer to write random name
|
|
* @param max_name_size length of given buffer
|
|
*/
|
|
void set_random_name(char* name, uint8_t max_name_size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|