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,7 +189,7 @@ void port_print(const pin_t Ard_num) {
189 189
   for (Index = 0; Index < NUMBER_PINS_TOTAL; Index++)
190 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 193
   sprintf_P(buffer, PSTR("%s"), ppa);
194 194
   SERIAL_ECHO(buffer);
195 195
   if (ppa[3] == '\0') SERIAL_CHAR(' ');

Loading…
Cancel
Save