firmware/src/mesh/InterfacesTemplates.cpp

24 lines
706 B
C++
Raw Normal View History

#include "SX126xInterface.h"
#include "SX126xInterface.cpp"
2022-10-16 17:07:58 +00:00
#include "SX128xInterface.h"
#include "SX128xInterface.cpp"
#include "api/ServerAPI.h"
#include "api/ServerAPI.cpp"
// We need this declaration for proper linking in derived classes
template class SX126xInterface<SX1262>;
2021-11-17 10:28:08 +00:00
template class SX126xInterface<SX1268>;
2022-10-16 17:07:58 +00:00
template class SX126xInterface<LLCC68>;
2022-11-02 12:12:15 +00:00
template class SX128xInterface<SX1280>;
#if HAS_ETHERNET
#include "api/ethServerAPI.h"
template class ServerAPI<EthernetClient>;
template class APIServerPort<ethServerAPI, EthernetServer>;
#endif
#if HAS_WIFI
#include "api/WiFiServerAPI.h"
template class ServerAPI<WiFiClient>;
template class APIServerPort<WiFiServerAPI, WiFiServer>;
#endif