-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update zxlib #5
base: develop
Are you sure you want to change the base?
Update zxlib #5
Conversation
this version does not work, it is here just as zxlib changes reference.
static const char* review_addrvalue = REVIEW_SCREEN_ADDR_VALUE; | ||
static const char* review_keyconfig = "Review"; | ||
static const char* review_configvalue = "configuration"; | ||
static const char *review_key = REVIEW_SCREEN_TITLE; |
Check notice
Code scanning / CodeQL
Unused static variable Note
static const char* review_keyconfig = "Review"; | ||
static const char* review_configvalue = "configuration"; | ||
static const char *review_key = REVIEW_SCREEN_TITLE; | ||
static const char *review_txvalue = REVIEW_SCREEN_TXN_VALUE; |
Check notice
Code scanning / CodeQL
Unused static variable Note
static const char* review_configvalue = "configuration"; | ||
static const char *review_key = REVIEW_SCREEN_TITLE; | ||
static const char *review_txvalue = REVIEW_SCREEN_TXN_VALUE; | ||
static const char *review_addrvalue = REVIEW_SCREEN_ADDR_VALUE; |
Check notice
Code scanning / CodeQL
Unused static variable Note
static const char *review_key = REVIEW_SCREEN_TITLE; | ||
static const char *review_txvalue = REVIEW_SCREEN_TXN_VALUE; | ||
static const char *review_addrvalue = REVIEW_SCREEN_ADDR_VALUE; | ||
static const char *review_keyconfig = "Review"; |
Check notice
Code scanning / CodeQL
Unused static variable Note
static const char *review_txvalue = REVIEW_SCREEN_TXN_VALUE; | ||
static const char *review_addrvalue = REVIEW_SCREEN_ADDR_VALUE; | ||
static const char *review_keyconfig = "Review"; | ||
static const char *review_configvalue = "configuration"; |
Check notice
Code scanning / CodeQL
Unused static variable Note
#define INTRO_PAGES 0 | ||
#endif | ||
|
||
// FIXME: Wait to be fixed on SDK: |
Check notice
Code scanning / CodeQL
FIXME comment Note
@@ -85,7 +84,11 @@ | |||
} | |||
|
|||
// passed page count, go to next index | |||
if (viewdata.itemCount > 0 && viewdata.itemIdx < (viewdata.itemCount - 1 + INCLUDE_ACTIONS_COUNT)) { | |||
uint8_t extraScreens = INCLUDE_ACTIONS_COUNT; | |||
if (review_type == REVIEW_MSG && extraScreens > 0) { |
Check warning
Code scanning / CodeQL
Comparison result is always the same Warning
@@ -104,7 +107,11 @@ | |||
} | |||
|
|||
// passed page count, go to next index | |||
if (viewdata.itemCount > 0 && viewdata.itemIdx < (viewdata.itemCount - 1 + INCLUDE_ACTIONS_COUNT)) { | |||
uint8_t extraScreens = INCLUDE_ACTIONS_COUNT; | |||
if (review_type == REVIEW_MSG && extraScreens > 0) { |
Check warning
Code scanning / CodeQL
Comparison result is always the same Warning
@@ -183,6 +185,11 @@ | |||
////////////////////////// | |||
////////////////////////// | |||
|
|||
static void h_view_address() { | |||
handleMenuShowAddress(); | |||
// view_review_show_impl(); |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -465,7 +697,10 @@ | |||
// Look up tm_year | |||
date->tm_year = 0; | |||
const uint16_t yearLookupSize = sizeof(yearLookup)/sizeof(yearLookup[0]); | |||
while (date->tm_year < yearLookupSize && yearLookup[date->tm_year] <= time) date->tm_year++; | |||
while (date->tm_year < yearLookupSize && yearLookup[date->tm_year] <= time) { | |||
date->tm_year++; |
Check warning
Code scanning / CodeQL
Year field changed using an arithmetic operation without checking for leap year Warning
tm_year
date
f33465a
to
28e1712
Compare
Update documentation.
deps/README.md
Outdated
@@ -0,0 +1,10 @@ | |||
## Updating zx-lib | |||
|
|||
Menu feaure requires us o change zxlib menu layout. Thus insead of a submodule, we have ledger-zxlib included as a copy. In case you need to update zxlib, this is the list of changes performed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo:
Menu feature requires us to... instead
And below:
Menu contains
Fixes an issue on stax on screens containing 6 entries.
69c3416
to
b39923a
Compare
Fixed too many arguments CI issue
b39923a
to
3c37d15
Compare
Update zxlib. Flex almost works