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

  • Committer: Tim Marston
  • Date: 2012-05-17 22:49:11 UTC
  • Revision ID: tim@ed.am-20120517224911-dbd9dtcpl14xlhi0
rewrote/fixed button event triggering code

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
{
424
424
        if( !_need_render ) return;
425
425
 
426
 
        // outer led on
427
 
        led( 9, true );
428
 
 
429
 
        // output buffer
430
426
        for( int a = 8; a >= 0; a-- ) {
431
427
                led( a, ( _output_buffer & 1 )? true : false );
432
428
                _output_buffer >>= 1;