eDVBCISlot forgotten

This commit is contained in:
max_10
2017-10-24 00:19:29 +02:00
parent 400d8f0ecd
commit 2d571948d8
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ static bool sendRCV(eDVBCISlot* slot)
} }
//send some data on an fd, for a special slot and connection_id //send some data on an fd, for a special slot and connection_id
eData sendData(tSlot* slot, unsigned char* data, int len) eData sendData(eDVBCISlot* slot, unsigned char* data, int len)
{ {
// only poll connection if we are not awaiting an answer // only poll connection if we are not awaiting an answer
slot->pollConnection = false; slot->pollConnection = false;

View File

@@ -63,7 +63,7 @@ void eDVBCIDateTimeSession::sendDateTime()
struct tm tm_loc; struct tm tm_loc;
unsigned char tag[3] = {0x9f, 0x84, 0x41}; // date_time_response unsigned char tag[3] = {0x9f, 0x84, 0x41}; // date_time_response
unsigned char msg[7] = {0, 0, 0, 0, 0, 0, 0}; unsigned char msg[7] = {0, 0, 0, 0, 0, 0, 0};
printf("%s -> %s\n", FILENAME, __FUNCTION__); printf("[CI DT] -> %s\n", __FUNCTION__);
time_t t = time(NULL); time_t t = time(NULL);
if ( gmtime_r(&t, &tm_gmt) && localtime_r(&t, &tm_loc) ) if ( gmtime_r(&t, &tm_gmt) && localtime_r(&t, &tm_loc) )
{ {