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

  • Committer: Tim Marston
  • Date: 2012-04-29 15:26:03 UTC
  • Revision ID: tim@ed.am-20120429152603-yoj8oi7wlzb0qwnx
added a 5V power regulator to schematic (since the one on our arduino was crap)

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        Text::reset();
146
146
        leds_off();
147
147
 
 
148
        // reset buttons
 
149
        _button.set_press_mode( _major_mode != SETTINGS_MODE_IDX );
 
150
 
148
151
        // give the mode a chance to init
149
152
        switch( _major_mode ) {
150
153
        case MAIN_MODE_IDX: activate_minor_mode(); break;
332
335
        // initialise RTC
333
336
        Time::init();
334
337
 
 
338
        // init text renderer
 
339
        TextRenderer::init();
 
340
 
335
341
        // activate the minor mode
336
342
        activate_major_mode();
337
343
}