[FL-1355] Fix flipper name C string (#485)

* api-hal-version: guarantee zero terminated flipper name
* cli_commands: fix hw_info command
This commit is contained in:
gornekich
2021-05-24 21:06:53 +03:00
committed by GitHub
parent f1e9a12eb0
commit 356476b7f8
6 changed files with 29 additions and 5 deletions

View File

@@ -9,6 +9,9 @@
extern "C" {
#endif
/** Init flipper version */
void api_hal_version_init();
/** Check target firmware version */
bool api_hal_version_do_i_belong_here();