Compare commits

2 Commits

Author SHA1 Message Date
Ross Owen
48533bed7b 'Release: 4.1.0' 2024-05-30 15:40:39 +01:00
Ross Owen
6e06ed66fc xpd: Cleaned up whitespace 2024-05-30 15:39:02 +01:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
lib_xua
#######
:Version: 4.0.0
:Version: 4.1.0
:Vendor: XMOS
:Scope: General Use

View File

@@ -54,7 +54,7 @@ inline unsigned queue_pop_word(queue_t &q, unsigned array[]) {
if(queue_is_empty(q)){
xassert(0 && "Unexpected pop from MIDI queue when empty");
// Return NULL messaqe if asserts not enabled
return MIDI_OUT_NULL_MESSAGE;
return MIDI_OUT_NULL_MESSAGE;
}
return array[q.rdptr++ & q.mask];

View File

@@ -191,7 +191,7 @@ void test_midi_sys_ex(void) {
midi_ref[3] = random(&rndm) & DATA_MASK; // Manf ID 1
for(unsigned i = 4; i < msg_len - 1; i++){
midi_ref[i] = random(&rndm) & DATA_MASK; // Some data
}
}
midi_ref[msg_len - 1] = SYSEX_EOM; // End of sys-ex
unsigned midi_dut[1 + MAX_SYS_EX_LENGTH + 1 + 2] = {0}; // Add SOM + EOM. Add 2 because msg_size % 3 may be up to 2.

View File

@@ -32,7 +32,7 @@ void test_midi_queue_init(void) {
int empty = queue_is_empty_c_wrapper(&symbol_fifo);
TEST_ASSERT_EQUAL_INT32(1, empty);
int full = queue_is_full_c_wrapper(&symbol_fifo);
TEST_ASSERT_EQUAL_INT32(0, full);
@@ -61,7 +61,7 @@ void test_midi_queue_full(void) {
int empty = queue_is_empty_c_wrapper(&symbol_fifo);
TEST_ASSERT_EQUAL_INT32(0, empty);
int full = queue_is_full_c_wrapper(&symbol_fifo);
TEST_ASSERT_EQUAL_INT32(1, full);
@@ -112,4 +112,4 @@ void test_midi_queue_push_pop(void) {
counter++;
}
}
}