forked from PAWPAW-Mirror/lib_xua
fix tests
This commit is contained in:
@@ -148,7 +148,7 @@ void test(chanend c_midi){
|
||||
unsigned midi[] = {commands[tx_cmd_count][0], commands[tx_cmd_count][1], commands[tx_cmd_count][2]};
|
||||
// Even though this is a Tx to MIDI we use midi_in_parse_helper to form the packet from bytes
|
||||
unsigned tx_packet = midi_in_parse_helper(midi, m_state);
|
||||
outuint(c_midi, byterev(tx_packet));
|
||||
midi_send_data(c_midi, byterev(tx_packet));
|
||||
dprintf("Sent packet to midi: %u %u %u (0x%8x)\n", commands[tx_cmd_count][0], commands[tx_cmd_count][1], commands[tx_cmd_count][2], tx_packet);
|
||||
t_tx += tx_interval;
|
||||
tx_end += max_tx_time;
|
||||
|
||||
Reference in New Issue
Block a user