Browse Source

Compiling M43 on invalid conversion (#14897)

Johnny Eshak 6 years ago
parent
commit
03dbe16ccc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/pinsDebug_STM32duino.h

+ 1
- 1
Marlin/src/HAL/HAL_STM32/pinsDebug_STM32duino.h View File

189
   for (Index = 0; Index < NUMBER_PINS_TOTAL; Index++)
189
   for (Index = 0; Index < NUMBER_PINS_TOTAL; Index++)
190
     if (Ard_num == GET_PIN_MAP_PIN_M43(Index)) break;
190
     if (Ard_num == GET_PIN_MAP_PIN_M43(Index)) break;
191
 
191
 
192
-  char * const ppa = pin_xref[Index].Port_pin_alpha;
192
+  const char * ppa = pin_xref[Index].Port_pin_alpha;
193
   sprintf_P(buffer, PSTR("%s"), ppa);
193
   sprintf_P(buffer, PSTR("%s"), ppa);
194
   SERIAL_ECHO(buffer);
194
   SERIAL_ECHO(buffer);
195
   if (ppa[3] == '\0') SERIAL_CHAR(' ');
195
   if (ppa[3] == '\0') SERIAL_CHAR(' ');

Loading…
Cancel
Save