/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/time.h

  • Committer: Tim Marston
  • Date: 2012-04-29 15:27:05 UTC
  • Revision ID: tim@ed.am-20120429152705-9z2o01ugaewxipq6
change our BOARD to pro5v328

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace Time
28
28
{
29
29
        /**
30
 
         * Initialise time from store.
31
 
         */
32
 
        void load_time();
33
 
 
34
 
        /**
35
 
         * Save the time to the store.
36
 
         */
37
 
        void save_time();
38
 
 
39
 
        /**
40
30
         * Get year.
41
31
         *
42
32
         * @return year
99
89
        void update();
100
90
 
101
91
        /**
 
92
         * Initialise time data
 
93
         */
 
94
        void init();
 
95
 
 
96
        /**
102
97
         * Increment the hours and save the time.
103
98
         */
104
99
        void inc_hours();