Skip to content

Commit cf9521e

Browse files
sjasonsmiththinkyhead
authored andcommitted
Fix SAMD Serial name macro (MarlinFirmware#19765)
1 parent 94fbf05 commit cf9521e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Marlin/src/HAL/SAMD51

Marlin/src/HAL/SAMD51/HAL.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
// MYSERIAL0 required before MarlinSerial includes!
3737

38-
#define _MSERIAL(X) Serial##X
38+
#define __MSERIAL(X) Serial##X
39+
#define _MSERIAL(X) __MSERIAL(X)
3940
#define MSERIAL(X) _MSERIAL(INCREMENT(X))
4041

4142
#if SERIAL_PORT == -1

0 commit comments

Comments
 (0)