compile error user_request_network_time_callback
This commit is contained in:
		
							parent
							
								
									3cbda10f40
								
							
						
					
					
						commit
						ba6fa5ee98
					
				@ -55,7 +55,7 @@ const char *getBwName(rps_t rps);
 | 
				
			|||||||
const char *getCrName(rps_t rps);
 | 
					const char *getCrName(rps_t rps);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if (TIME_SYNC_LORAWAN)
 | 
					#if (TIME_SYNC_LORAWAN)
 | 
				
			||||||
static void user_request_network_time_callback(void *pVoidUserUTCTime,
 | 
					void user_request_network_time_callback(void *pVoidUserUTCTime,
 | 
				
			||||||
                                               int flagSuccess);
 | 
					                                               int flagSuccess);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -373,7 +373,7 @@ void lora_enqueuedata(MessageBuffer_t *message) {
 | 
				
			|||||||
void lora_queuereset(void) { xQueueReset(LoraSendQueue); }
 | 
					void lora_queuereset(void) { xQueueReset(LoraSendQueue); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if (TIME_SYNC_LORAWAN)
 | 
					#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) {
 | 
					                                                         int flagSuccess) {
 | 
				
			||||||
  // Explicit conversion from void* to uint32_t* to avoid compiler errors
 | 
					  // Explicit conversion from void* to uint32_t* to avoid compiler errors
 | 
				
			||||||
  time_t *pUserUTCTime = (time_t *)pVoidUserUTCTime;
 | 
					  time_t *pUserUTCTime = (time_t *)pVoidUserUTCTime;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user