Skip to content

Commit

Permalink
Fix SAMD Serial name macro (MarlinFirmware#19765)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored and thinkyhead committed Oct 16, 2020
1 parent 86cb079 commit 0a0f211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/HAL/SAMD51/HAL.h
Expand Up @@ -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
Expand Down

0 comments on commit 0a0f211

Please sign in to comment.