|
|
|
@ -629,23 +629,13 @@ void MarlinSerial<Cfg>::printFloat(double number, uint8_t digits) {
|
|
|
|
|
|
|
|
|
|
// If not using the USB port as serial port
|
|
|
|
|
#if SERIAL_PORT >= 0
|
|
|
|
|
|
|
|
|
|
// Preinstantiate
|
|
|
|
|
template class MarlinSerial<MarlinSerialCfg<SERIAL_PORT>>;
|
|
|
|
|
|
|
|
|
|
// Instantiate
|
|
|
|
|
MarlinSerial<MarlinSerialCfg<SERIAL_PORT>> customizedSerial1;
|
|
|
|
|
|
|
|
|
|
template class MarlinSerial<MarlinSerialCfg<SERIAL_PORT>>; // Define
|
|
|
|
|
MarlinSerial<MarlinSerialCfg<SERIAL_PORT>> customizedSerial1; // Instantiate
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef SERIAL_PORT_2
|
|
|
|
|
|
|
|
|
|
// Preinstantiate
|
|
|
|
|
template class MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>>;
|
|
|
|
|
|
|
|
|
|
// Instantiate
|
|
|
|
|
MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2;
|
|
|
|
|
|
|
|
|
|
#if defined(SERIAL_PORT_2) && SERIAL_PORT_2 >= 0
|
|
|
|
|
template class MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>>; // Define
|
|
|
|
|
MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2; // Instantiate
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // ARDUINO_ARCH_SAM
|
|
|
|
|