mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-17 23:18:34 +00:00
Fix SAMD Serial name macro (#19765)
This commit is contained in:
parent
cc7fbabc96
commit
3ccb3801f2
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
|||
|
||||
// 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))
|
||||
|
||||
#if SERIAL_PORT == -1
|
||||
|
|
Loading…
Reference in a new issue