More code error fixes

This commit is contained in:
Florian Grousset
2022-12-30 19:59:01 -06:00
parent ce3cc4d305
commit e76ce1b40b
2 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ static bool_t tama_p1_hal_is_log_enabled(log_level_t level) {
static void tama_p1_hal_log(log_level_t level, char* buff, ...) {
if(!tama_p1_hal_is_log_enabled(level)) return;
FuriString* string;
FuriString* string = NULL;
va_list args;
va_start(args, buff);
furi_string_cat_vprintf(string, buff, args);