@@ -388,7 +388,7 @@ void txFifoReadyCallback(void) {
388388 // give semaphore and set xHigherPriorityTaskAwoken to pdTRUE if this unblocks a higher priority task than the current
389389 // one
390390 if (xSemaphoreGiveFromISR (txSemaphore , & xHigherPriorityTaskAwoken ) != pdPASS ) {
391- LOG_ERROR_FROM_ISR ("TX FIFO below spec." );
391+ LOG_ERROR_CODE ("TX FIFO below spec." );
392392 }
393393 // if xHigherPriorityTaskAwoken == pdTRUE then request a context switch since this means a higher priority task has
394394 // been unblocked
@@ -400,7 +400,7 @@ void rxFifoReadyCallback(void) {
400400 // give semaphore and set xHigherPriorityTaskAwoken to pdTRUE if this unblocks a higher priority task than the current
401401 // one
402402 if (xSemaphoreGiveFromISR (rxSemaphore , & xHigherPriorityTaskAwoken ) != pdPASS ) {
403- LOG_ERROR_FROM_ISR ( "RX FIFO above threshold." );
403+ LOG_ERROR_CODE ( OBC_ERR_CODE_QUEUE_FULL );
404404 }
405405 // if xHigherPriorityTaskAwoken == pdTRUE then request a context switch since this means a higher priority task has
406406 // been unblocked
@@ -412,7 +412,7 @@ void txFifoEmptyCallback(void) {
412412 // give semaphore and set xHigherPriorityTaskAwoken to pdTRUE if this unblocks a higher priority task than the current
413413 // one
414414 if (xSemaphoreGiveFromISR (txFifoEmptySemaphore , & xHigherPriorityTaskAwoken ) != pdPASS ) {
415- LOG_ERROR_FROM_ISR ( "TX FIFO is empty." );
415+ LOG_ERROR_CODE ( OBC_ERR_CODE_QUEUE_EMPTY );
416416 }
417417 // if xHigherPriorityTaskAwoken == pdTRUE then request a context switch since this means a higher priority task has
418418 // been unblocked
@@ -424,7 +424,7 @@ void syncEventCallback(void) {
424424 // give semaphore and set xHigherPriorityTaskAwoken to pdTRUE if this unblocks a higher priority task than the current
425425 // one
426426 if (xSemaphoreGiveFromISR (syncReceivedSemaphore , & xHigherPriorityTaskAwoken ) != pdPASS ) {
427- LOG_ERROR_FROM_ISR ("Sync word receieved." );
427+ LOG_ERROR_CODE ("Sync word receieved." );
428428 }
429429 // if xHigherPriorityTaskAwoken == pdTRUE then request a context switch since this means a higher priority task has
430430 // been unblocked
0 commit comments