|
|
|
|
74
|
#define MULTI_NAME_PAD 26 // space needed to be pretty if not first name assigned to a pin
|
74
|
#define MULTI_NAME_PAD 26 // space needed to be pretty if not first name assigned to a pin
|
75
|
|
75
|
|
76
|
void PRINT_ARRAY_NAME(uint8_t x) {
|
76
|
void PRINT_ARRAY_NAME(uint8_t x) {
|
77
|
- char *name_mem_pointer = (PGM_P)pgm_read_ptr(&pin_array[x].name);
|
|
|
|
|
77
|
+ const char * const name_mem_pointer = (PGM_P)pgm_read_ptr(&pin_array[x].name);
|
78
|
LOOP_L_N(y, MAX_NAME_LENGTH) {
|
78
|
LOOP_L_N(y, MAX_NAME_LENGTH) {
|
79
|
char temp_char = pgm_read_byte(name_mem_pointer + y);
|
79
|
char temp_char = pgm_read_byte(name_mem_pointer + y);
|
80
|
if (temp_char != 0)
|
80
|
if (temp_char != 0)
|