Inheritance fix

This commit is contained in:
DashyFox 2024-11-20 17:35:59 +03:00
parent ad8859af9a
commit e6f2883584
3 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ void onSend(){
} }
// #define TEST_1 #define TEST_1
#define TEST_2 // #define TEST_2
void setup() void setup()

View File

@ -5,7 +5,7 @@
#include "TCP.h" #include "TCP.h"
#include <functional> #include <functional>
class EthernetMaketClient; class EthernetMaketClient;
class EthernetMaketServer : EthernetServer class EthernetMaketServer : public EthernetServer
{ {
private: private:
EthernetClient available(); EthernetClient available();

View File

@ -2,7 +2,7 @@
#define __MAKET_UDP_H__ #define __MAKET_UDP_H__
#include "../util/config.h" #include "../util/config.h"
class EthernetMaketUDP : EthernetUDP class EthernetMaketUDP : public EthernetUDP
{ {
private: private:
ConnectionStatusSimple _status; // статус соединения ConnectionStatusSimple _status; // статус соединения