33 lines
427 B
C
33 lines
427 B
C
|
|
|
||
|
|
/*
|
||
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef _FLUX_TIME_H
|
||
|
|
#define _FLUX_TIME_H
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
#define USE_TIME_SYNC_TASK 0
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/*时间同步任务*/
|
||
|
|
void time_synic_task(void *arg);
|
||
|
|
|
||
|
|
/*获取当前时间*/
|
||
|
|
char get_time_str(void);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /*_FLUX_TIME_H */
|