Skip to content

Commit

Permalink
simplified debug
Browse files Browse the repository at this point in the history
  • Loading branch information
killer0071234 committed Oct 1, 2020
1 parent 5892170 commit bc283a3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/abus_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,8 @@ void abus_socket::begin()
ownNad = mac[0] | mac[1] << 8L | mac[2] << 16L | mac[3] << 24L;
}
Udp.begin(localUdpPort);
#if defined(ESP32)
ABSOCK_DBG_PRINTF("*AB: begin()->remoteIP=%s, port=%d, nad=%lu\n", IP_Remote.toString().c_str(), localUdpPort, (unsigned long)ownNad);
#else
ABSOCK_DBG_PRINTF("*AB: begin()->remoteIP=%s, port=%d, nad=%lu\n", IP_Remote.toString().c_str(), localUdpPort, ownNad);
#endif
ABSOCK_DBG_PRINTF("*AB: begin()->remoteIP=%s, port=%d, nad=%lu\n", IP_Remote.toString().c_str(), localUdpPort, (long unsigned int)ownNad);

}
void abus_socket::begin(unsigned int localUdpPort)
{
Expand Down

0 comments on commit bc283a3

Please sign in to comment.