summaryrefslogtreecommitdiff
path: root/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'clock.c')
-rw-r--r--clock.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/clock.c b/clock.c
index e6fba14..f40c6aa 100644
--- a/clock.c
+++ b/clock.c
@@ -9,39 +9,12 @@
#include "main.h"
#include "clock.h"
-#include "max7219.h"
#include "timebase.h"
#include "dcf77.h"
struct time data time;
-void display_date( void )
-{
- displaymem[7] = time.day / 10;
- displaymem[6] = time.day % 10 | ATTRIB_DP;
- displaymem[5] = time.month / 10;
- displaymem[4] = time.month % 10 | ATTRIB_DP;
- displaymem[3] = 2;
- displaymem[2] = 0;
- displaymem[1] = time.year / 10;
- displaymem[0] = time.year % 10;
-}
-
-
-void display_time(void)
-{
- displaymem[7] = time.hour / 10;
- displaymem[6] = time.hour % 10;
-
- displaymem[4] = time.minute / 10;
- displaymem[3] = time.minute % 10;
-
- displaymem[1] = time.second / 10;
- displaymem[0] = time.second % 10;
-}
-
-
u8 code MDAYS[] = {
29, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };