date_time () syscall, Get date-time from RTC
This commit is contained in:
14
include/time.h
Normal file
14
include/time.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _TIME_H
|
||||
#define _TIME_H
|
||||
|
||||
struct date_time {
|
||||
int sec;
|
||||
int min;
|
||||
int hour;
|
||||
int day;
|
||||
int weekday;
|
||||
int month;
|
||||
int year;
|
||||
};
|
||||
|
||||
#endif // _TIME_H
|
||||
Reference in New Issue
Block a user