forked from PAWPAW-Mirror/lib_xua
Merge pull request #353 from xross/fix/352
Fixed ADAT Rx clock ID when SPDIF Rx also enabled
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// Copyright 2011-2021 XMOS LIMITED.
|
||||
// Copyright 2011-2023 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
|
||||
|
||||
Reference in New Issue
Block a user