This trick is no longer supported. We need to provide a suitable workaround.
.pio/libdeps/adafruit_feather_m0/MCCI Arduino LoRaWAN Library/src/lib/LogPrintf.cpp: In member function 'void Arduino_LoRaWAN::LogPrintf(const char*, ...)':
.pio/libdeps/adafruit_feather_m0/MCCI Arduino LoRaWAN Library/src/lib/LogPrintf.cpp:46:15: error: 'class Adafruit_USBD_CDC' has no member named 'dtr'
if (! Serial.dtr())
^~~
.pio/libdeps/adafruit_feather_m0/MCCI Arduino LoRaWAN Library/src/lib/LogPrintf.cpp:58:13: error: 'class Adafruit_USBD_CDC' has no member named 'dtr'
if (Serial.dtr()) Serial.print(buf);
^~~
*** [.pio/build/adafruit_feather_m0/lib448/MCCI Arduino LoRaWAN Library/lib/LogPrintf.cpp.o] Error 1
This trick is no longer supported. We need to provide a suitable workaround.