Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2628 → Rev 2629

/trunk/apps/sequencers/midibox_seq_v4/core/seq_ui.c
3442,13 → 3442,13
 
// beat LED
u8 beat_led_on = sequencer_running && ((seq_core_state.ref_step % 4) == 0);
SEQ_LED_PinSet(seq_hwcfg_led.beat, beat_led_on);
u8 measure_led_on = sequencer_running && ((seq_core_state.ref_step % (seq_core_steps_per_measure+1)) == 0);
SEQ_LED_PinSet(seq_hwcfg_led.beat, (seq_hwcfg_led.measure && measure_led_on) ? 0 : beat_led_on);
 
// mirror to green status LED (inverted, so that LED is normaly on)
MIOS32_BOARD_LED_Set(0x00000001, sequencer_running ? (beat_led_on ? 1 : 0) : 1);
 
// measure LED
u8 measure_led_on = sequencer_running && ((seq_core_state.ref_step % (seq_core_steps_per_measure+1)) == 0);
SEQ_LED_PinSet(seq_hwcfg_led.measure, measure_led_on);
 
// mirror to red status LED
/trunk/apps/sequencers/midibox_seq_v4/hwcfg/midiphy_lh/MBSEQ_HW.V4
File deleted