/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-05-18 14:40:04 UTC
  • Revision ID: tim@ed.am-20120518144004-uuz2zrjmyr78wqd5
updated emacs compile command and readjusted clock shift

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        // draw
173
173
        _modes[ _mode ]->draw( segment );
174
174
 
175
 
        // draw text
176
 
        Text::draw( segment );
 
175
        // TODO: remove this hack
 
176
        Text::post_draw();
177
177
 
178
178
        // draw text rednerer's buffer
179
179
        TextRenderer::output_buffer();
265
265
        _button.set_event_times( event_times );
266
266
 
267
267
        // initialise RTC
268
 
//      Time::load_time();
 
268
        Time::init();
269
269
 
270
270
        // init text renderer
271
271
        TextRenderer::init();
275
275
        leds_off();
276
276
 
277
277
        static SwitcherMajorMode switcher;
278
 
        static SettingsMajorMode settings( _button );
 
278
        static SettingsMajorMode settings;
279
279
 
280
280
        // add major modes
281
281
        int mode = 0;