Replace led_hour (etc.) globals with TIME struct
This commit is contained in:
11
firmware/time.h
Normal file
11
firmware/time.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __TIME_H__
|
||||
#define __TIME_H__
|
||||
|
||||
struct TIME
|
||||
{
|
||||
uint8_t hour;
|
||||
uint8_t minute;
|
||||
uint8_t second;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user