This commit is contained in:
Wolfgang Hottgenroth
2021-03-04 18:02:27 +01:00
parent a13feaac02
commit 5254b318f8

View File

@ -83,7 +83,7 @@ static void sinkSenderSendMinute() {
if (hptr) {
if (hptr->h_addrtype == AF_INET) {
char *sinkAddr = hptr->h_addr_list[0];
// logmsg(LOG_DEBUG, "sink addr: %d.%d.%d.%d",
logmsg(LOG_DEBUG, "sink addr: %d.%d.%d.%d",
sinkAddr[0], sinkAddr[1], sinkAddr[2], sinkAddr[3]);
int sockfd = socket(AF_INET, SOCK_DGRAM, 0);
@ -119,7 +119,7 @@ void sinkSenderPut(uint32_t seconds, uint32_t frequency) {
bool settled = false;
led(E_GREEN, false);
// logmsg(LOG_DEBUG, "s: %lu, f: %lu", seconds, frequency);
logmsg(LOG_DEBUG, "s: %lu, f: %lu", seconds, frequency);
if (secondOfMinute == 0) {
minuteBuffer.s.timestamp = seconds;