first murmurs of ethernet support

This commit is contained in:
Thomas Göttgens
2022-10-22 16:29:50 +02:00
parent 564feadc0d
commit f3fee5f4fb
11 changed files with 102 additions and 23 deletions

27
src/network-stubs.cpp Normal file
View File

@@ -0,0 +1,27 @@
#include "configuration.h"
#if (HAS_WIFI == 0)
bool initWifi(bool forceSoftAP) {
return false;
}
void deinitWifi() {}
bool isWifiAvailable() {
return false;
}
#endif
#if (HAS_ETHERNET == 0)
bool initEthernet() {
return false;
}
bool isEthernetAvailable() {
return false;
}
#endif