Show more debug messages

This commit is contained in:
Alex
2023-02-18 04:07:40 +02:00
parent 20064c05ff
commit ad1c2214ef
9 changed files with 47 additions and 14 deletions

View File

@ -12,8 +12,16 @@ namespace NetworkNTP
netdbg("Received UDP packet for NTP.");
}
NTP::NTP(NetworkUDP::Socket *Socket) : NetworkUDP::UDPEvents() { this->UDPSocket = Socket; }
NTP::~NTP() {}
NTP::NTP(NetworkUDP::Socket *Socket) : NetworkUDP::UDPEvents()
{
debug("NTP interface %#lx created.", this);
this->UDPSocket = Socket;
}
NTP::~NTP()
{
debug("NTP interface %#lx destroyed.", this);
}
int NTP::ReadTime()
{