unleashed-firmware/firmware/targets/f5/api-hal/api-hal.c
gornekich 356476b7f8
[FL-1355] Fix flipper name C string (#485)
* api-hal-version: guarantee zero terminated flipper name
* cli_commands: fix hw_info command
2021-05-24 21:06:53 +03:00

24 lines
694 B
C

#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();
FURI_LOG_I("FURI_HAL", "OS OK");
api_hal_vcp_init();
FURI_LOG_I("FURI_HAL", "VCP OK");
api_hal_spi_init();
FURI_LOG_I("FURI_HAL", "SPI OK");
api_hal_i2c_init();
FURI_LOG_I("FURI_HAL", "I2C OK");
api_hal_power_init();
FURI_LOG_I("FURI_HAL", "POWER OK");
api_hal_light_init();
FURI_LOG_I("FURI_HAL", "LIGHT OK");
api_hal_vibro_init();
FURI_LOG_I("FURI_HAL", "VIBRO OK");
api_hal_subghz_init();
FURI_LOG_I("FURI_HAL", "SUBGHZ OK");
}