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