Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 1198 → Rev 1199

/trunk/apps/controllers/blm_scalar/main.c
418,9 → 418,11
#warning "AIN Pin Map has been activated"
pin = ain_pin_map[pin & 7];
#endif
MIOS_MIDI_TxBufferPut(0xb0 + (pin & 0x0f));
MIOS_MIDI_TxBufferPut(0x01);
MIOS_MIDI_TxBufferPut(MIOS_AIN_Pin7bitGet(original_pin));
if( MIOS_AIN_Pin7bitGet(original_pin) && pin < BLM_AIN_NUM_PINS ) {
MIOS_MIDI_TxBufferPut(0xb0 + (pin & 0x0f));
MIOS_MIDI_TxBufferPut(0x01);
MIOS_MIDI_TxBufferPut(MIOS_AIN_Pin7bitGet(original_pin));
}
}
 
 
/trunk/apps/controllers/blm_scalar/Makefile
19,6 → 19,7
# optional app flags for special hardware variants
SDCC_DEFINES += -DBLM_MIRROR_MAIN_DIN=0
SDCC_DEFINES += -DBLM_AIN_PIN_MAP=0
SDCC_DEFINES += -DBLM_AIN_NUM_PINS=8
 
 
# pass parameters to MIOS wrapper