Browse Source

Fix SAMD Serial name macro (#19765)

vanilla_fb_2.0.x
Jason Smith 4 years ago
committed by GitHub
parent
commit
9b9cd698a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/HAL/SAMD51/HAL.h

3
Marlin/src/HAL/SAMD51/HAL.h

@ -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…
Cancel
Save