Skip to content

Commit

Permalink
Add clarifications to some string size constants
Browse files Browse the repository at this point in the history
  • Loading branch information
3noch committed Feb 1, 2019
1 parent 5938686 commit eb01321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ typedef struct {
} nvram_data;


#define PKH_STRING_SIZE 40
#define PROTOCOL_HASH_BASE58_STRING_SIZE 52 // e.g. "ProtoBetaBetaBetaBetaBetaBetaBetaBetaBet11111a5ug96" plus null byte
#define PKH_STRING_SIZE 40 // includes null byte
#define PROTOCOL_HASH_BASE58_STRING_SIZE (51 + 1) // e.g. "ProtoBetaBetaBetaBetaBetaBetaBetaBetaBet11111a5ug96" plus null byte

#define MAX_SCREEN_COUNT 7 // Current maximum usage
#define PROMPT_WIDTH 16
Expand Down

0 comments on commit eb01321

Please sign in to comment.