mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 04:48:31 +00:00
Fix SAMD Serial name macro (#19765)
This commit is contained in:
parent
dea995e19f
commit
d5340675ae
@ -35,7 +35,8 @@
|
|||||||
|
|
||||||
// MYSERIAL0 required before MarlinSerial includes!
|
// MYSERIAL0 required before MarlinSerial includes!
|
||||||
|
|
||||||
#define _MSERIAL(X) Serial##X
|
#define __MSERIAL(X) Serial##X
|
||||||
|
#define _MSERIAL(X) __MSERIAL(X)
|
||||||
#define MSERIAL(X) _MSERIAL(INCREMENT(X))
|
#define MSERIAL(X) _MSERIAL(INCREMENT(X))
|
||||||
|
|
||||||
#if SERIAL_PORT == -1
|
#if SERIAL_PORT == -1
|
||||||
|
Loading…
Reference in New Issue
Block a user