Code improvements / Fix warnings

- Fix CodeQL warnings
- Port lots of improvements/fixes from PR #225
- replace 'array_hexstr' and '%*H' format by sdk function 'format_hex'
- Add 'noreturn' attribute in 'main.c'
This commit is contained in:
Charles-Edouard de la Vergne
2024-04-12 16:40:05 +02:00
parent 90d536402b
commit aa38ee9959
29 changed files with 103 additions and 71 deletions

View File

@@ -57,7 +57,7 @@ UX_STEP_INIT(
UX_STEP_CB(
ux_712_step_approve,
pb,
ui_712_approve(NULL),
ui_712_approve(),
{
&C_icon_validate_14,
"Approve",
@@ -65,7 +65,7 @@ UX_STEP_CB(
UX_STEP_CB(
ux_712_step_reject,
pb,
ui_712_reject(NULL),
ui_712_reject(),
{
&C_icon_crossmark,
"Reject",