forked from gary/ems
2
0
Fork 0
sun_ems/ems_c/driver/drv_rtc.h

23 lines
780 B
C
Raw Permalink Normal View History

2025-05-13 17:49:49 +08:00
/*****************************************************************************
* @copyright 1997-2050, . POWER SUPPLY CO., LTD.
* @file drv_rtc.h
* @brief xx功能
* @author Gary
* @date 2024-09-29
* @remark
*****************************************************************************/
#ifndef DRV_RTC_H
#define DRV_RTC_H
#include <stdint.h>
#include <pthread.h>
#include <stdio.h>
/*********************************************************************
* @brief
* @param[in] sec: 1970
* @return 01
*********************************************************************/
int setSysTime(time_t sec, char linuxPass[50]);
#endif // DRV_RTC_H