Fix build errors for other platforms

This commit is contained in:
Thomas Göttgens committed 2023-01-31 17:25:18 +01:00
1 parent 661894f9f9
commit e1914dd464
2 files changed
+16 -3

No files matched your search

+6 -1
View File
@@ -22,8 +22,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.*/
#include "configuration.h"
#include "DebugConfiguration.h"
#if HAS_WIFI || HAS_ETHERNET
Syslog::Syslog(UDP &client)
{
this->_client = &client;
@@ -218,4 +221,6 @@ inline bool Syslog::_sendLog(uint16_t pri, const __FlashStringHelper *message)
this->_client->endPacket();
return true;
}
}
#endif