1
0
Fork 0

separated into api files/folder

This commit is contained in:
Jack Humbert 2016-11-26 15:37:46 -05:00
parent f25596b8dc
commit 7edac212c8
15 changed files with 303 additions and 283 deletions

View file

@ -847,12 +847,12 @@ void send_nibble(uint8_t number) {
}
}
void send_unicode_midi(uint32_t unicode) {
#ifdef MIDI_ENABLE
void api_send_unicode(uint32_t unicode) {
#ifdef API_ENABLE
uint8_t chunk[4];
dword_to_bytes(unicode, chunk);
MT_SEND_DATA(DT_UNICODE, chunk, 5);
#endif
#endif
}
__attribute__ ((weak))