Fixed ADAT Rx clock ID when SPDIF Rx also enabled

This commit is contained in:
Ross Owen
2023-11-03 10:16:38 +00:00
parent 5e5b2b7bd5
commit 5b5ee132e0
2 changed files with 5 additions and 4 deletions

View File

@@ -7,6 +7,8 @@ HEAD
* RESOLVED: Output volume control not enabled by default when MIXER disabled
* RESOLVED: Full 32bit result of volume processing not calculated when required
* RESOLVED: Input stream sending an erroneous zero-length packet when exiting underflow state
* RESOLVED Build failures when XUA_USB_EN = 0
* RESOLVED: Clock configuration issues when ADAT and S/PDIF receive are enabled (#352)
* CHANGED: QUAD_SPI_FLASH replaced by XUA_QUAD_SPI_FLASH (default: 1)
3.5.1

View File

@@ -1,8 +1,7 @@
// Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_INTERNAL_CMDS_H__
#define __XUA_INTERNAL_CMDS_H__
#ifndef _XUA_COMMANDS_H_
#define _XUA_COMMANDS_H_
#include "xua.h"
@@ -14,7 +13,7 @@
#define CLOCK_INTERNAL 1
#define CLOCK_SPDIF 2
#if SPDIF_RX
#if (XUA_SPDIF_RX_EN)
#define CLOCK_ADAT 3
#else
#define CLOCK_ADAT 2