Add and apply REPEAT_1 macro

This commit is contained in:
Scott Lahteine
2021-05-08 01:41:40 -05:00
parent a03811f4e8
commit f09fa69e86
6 changed files with 10 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ extern uint8_t marlin_debug_flags;
#define __S_MULTI(N) decltype(SERIAL_LEAF_##N),
#define _S_MULTI(N) __S_MULTI(N)
typedef MultiSerial< REPEAT_S(1, INCREMENT(NUM_SERIAL), _S_MULTI) 0> SerialOutputT;
typedef MultiSerial< REPEAT_1(NUM_SERIAL, _S_MULTI) 0> SerialOutputT;
#undef __S_MULTI
#undef _S_MULTI