/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.cc

  • Committer: Tim Marston
  • Date: 2012-03-10 12:56:55 UTC
  • Revision ID: tim@ed.am-20120310125655-z72qh4bqou2byi2r
added frame reset code and inited minor mode flavours on mode activation

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
 
144
144
void Time::update()
145
145
{
146
 
        // how many milliseonds have elapsed since we last checked?
 
146
        // how many milliseconds have elapsed since we last checked?
147
147
        unsigned long millis = ::millis();
148
148
        unsigned long delta = millis - _last_millis + _carry;
149
149