[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

@@ -1,6 +1,8 @@
#include <api-hal.h>
void api_hal_init() {
api_hal_version_init();
FURI_LOG_I("FURI_HAL", "VERSION OK");
api_hal_delay_init();
FURI_LOG_I("FURI_HAL", "DELAY OK");
api_hal_os_init();