Kernel/BAN: Make Time a struct in BAN and add formatter to it
This commit is contained in:
@@ -1,20 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <BAN/Time.h>
|
||||
|
||||
namespace RTC
|
||||
{
|
||||
|
||||
struct Time
|
||||
{
|
||||
uint8_t second;
|
||||
uint8_t minute;
|
||||
uint8_t hour;
|
||||
uint8_t day;
|
||||
uint8_t month;
|
||||
int year;
|
||||
};
|
||||
|
||||
Time GetCurrentTime();
|
||||
BAN::Time GetCurrentTime();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user