Placed blocks at the top of code

This commit is contained in:
Jeroen van der Steen 2024-01-16 23:16:04 +01:00
commit 8460726f1f

View file

@ -144,6 +144,9 @@ static const uint8_t lut[256] = {
static const uint8_t var_list[] = {0x1c, 0x1e, 0x20, 0x26, 0x28, 0x2a, 0x2c, 0x2e}; static const uint8_t var_list[] = {0x1c, 0x1e, 0x20, 0x26, 0x28, 0x2a, 0x2c, 0x2e};
static uint8_t info_blocks[] = { 0x15, 0x16, 0x17, 0x18, 0x22 }; //Used for partnumber
static const char *xerox_c_type[] = { "drum", "yellow", "magenta", "cyan", "black" };
static int CmdHelp(const char *Cmd); static int CmdHelp(const char *Cmd);
void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits); void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits);
@ -414,9 +417,6 @@ static int xerox_select_card(iso14b_card_select_t *card) {
return PM3_ESOFT; return PM3_ESOFT;
} }
static uint8_t info_blocks[] = { 0x15, 0x16, 0x17, 0x18, 0x22 };
static const char *xerox_c_type[] = { "drum", "yellow", "magenta", "cyan", "black" };
static inline char dec_digit(uint8_t dig) { static inline char dec_digit(uint8_t dig) {
return (dig <= 9) ? dig + '0' : '?'; return (dig <= 9) ? dig + '0' : '?';
} }