Add STM device resvision to MOTD.

This commit is contained in:
2021-10-15 22:06:30 +02:00
parent d9c145ec81
commit 4009a2794d
6 changed files with 25 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ static void get_controller_folder_path(char *path, size_t size)
if (!path)
return;
unique_id_get(&high, &mid, &low);
stm_unique_id_get(&high, &mid, &low);
snprintf(path, size, "/%08X-%08X-%08X",
(unsigned int)high, (unsigned int)mid, (unsigned int)low);