Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorあく <alleteam@gmail.com>2021-09-15 12:59:49 +0300
committerGitHub <noreply@github.com>2021-09-15 12:59:49 +0300
commit66f9d946ae0f14d4ad11810a55c7cc638ee315e5 (patch)
tree5e91f1fd7ae6dcceac08fe23211c0b49814fdee3 /applications/gui
parent95d9140d2458b1fd471627c49ef0ecc1faf9c68e (diff)
[FL-1490] FuriHal: crypto api. Crypto cli tool. (#702)
* FuriHal: crypto layer * Furi: add crash routine. * FuriHal: crypto api. Crypto: cli command to manipulate secure enclave and encrypt/decrypt plain text. * DeviceInfo: secure enclave verification. * Rename original to enclave_valid * Update expected enclave signature to match production keys * F7: remove unused files
Diffstat (limited to 'applications/gui')
-rw-r--r--applications/gui/canvas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/gui/canvas.c b/applications/gui/canvas.c
index 02341989..40454339 100644
--- a/applications/gui/canvas.c
+++ b/applications/gui/canvas.c
@@ -116,7 +116,7 @@ void canvas_set_font(Canvas* canvas, Font font) {
} else if(font == FontKeyboard) {
u8g2_SetFont(&canvas->fb, u8g2_font_profont11_mf);
} else {
- furi_check(0);
+ furi_crash(NULL);
}
}
@@ -150,7 +150,7 @@ void canvas_draw_str_aligned(
x -= (u8g2_GetStrWidth(&canvas->fb, str) / 2);
break;
default:
- furi_check(0);
+ furi_crash(NULL);
break;
}
@@ -164,7 +164,7 @@ void canvas_draw_str_aligned(
y += (u8g2_GetAscent(&canvas->fb) / 2);
break;
default:
- furi_check(0);
+ furi_crash(NULL);
break;
}