compile error user_request_network_time_callback

This commit is contained in:
Verkehrsrot 2019-10-24 19:14:56 +02:00
parent 3cbda10f40
commit ba6fa5ee98
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const char *getBwName(rps_t rps);
const char *getCrName(rps_t rps);
#if (TIME_SYNC_LORAWAN)
static void user_request_network_time_callback(void *pVoidUserUTCTime,
void user_request_network_time_callback(void *pVoidUserUTCTime,
int flagSuccess);
#endif

View File

@ -373,7 +373,7 @@ void lora_enqueuedata(MessageBuffer_t *message) {
void lora_queuereset(void) { xQueueReset(LoraSendQueue); }
#if (TIME_SYNC_LORAWAN)
static void IRAM_ATTR user_request_network_time_callback(void *pVoidUserUTCTime,
void IRAM_ATTR user_request_network_time_callback(void *pVoidUserUTCTime,
int flagSuccess) {
// Explicit conversion from void* to uint32_t* to avoid compiler errors
time_t *pUserUTCTime = (time_t *)pVoidUserUTCTime;