Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 1201 → Rev 1202

/trunk/apps/processing/midi_mapper/main.c
107,6 → 107,7
unsigned int addr=num;
addr <<=6;
MIOS_BANKSTICK_ReadPage(addr,(char*)current_preset);
inout_map_build();
}
 
 
272,7 → 273,6
void current_preset_set(unsigned char value) __wparam{
current_preset_num = value;
preset_load(value);
inout_map_build();
MIOS_EEPROM_Write(0x01,value);
}
 
331,7 → 331,6
}
current_preset_set(0);
current_bus_set(0);
inout_map_build();
led_flash_start(0xff,5,10);//flash 5 times
}
else{//screen is bank