Skip to content

Commit

Permalink
Compiling M43 on invalid conversion (#14897)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheOne authored and thinkyhead committed Aug 11, 2019
1 parent f085199 commit 03dbe16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/HAL_STM32/pinsDebug_STM32duino.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void port_print(const pin_t Ard_num) {
for (Index = 0; Index < NUMBER_PINS_TOTAL; Index++)
if (Ard_num == GET_PIN_MAP_PIN_M43(Index)) break;

char * const ppa = pin_xref[Index].Port_pin_alpha;
const char * ppa = pin_xref[Index].Port_pin_alpha;
sprintf_P(buffer, PSTR("%s"), ppa);
SERIAL_ECHO(buffer);
if (ppa[3] == '\0') SERIAL_CHAR(' ');
Expand Down

0 comments on commit 03dbe16

Please sign in to comment.