From c2e1a8f17a9486917b8ab62762694aa5226bb558 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 6 Jun 2023 15:22:34 +0100 Subject: [PATCH] Fixed issue where sample rate not set in test_i2s_loopback --- tests/test_i2s_loopback.py | 2 +- tests/test_i2s_loopback/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_i2s_loopback.py b/tests/test_i2s_loopback.py index b08c464b..471c729d 100644 --- a/tests/test_i2s_loopback.py +++ b/tests/test_i2s_loopback.py @@ -1,4 +1,4 @@ -# Copyright 2018-2022 XMOS LIMITED. +# Copyright 2018-2023 XMOS LIMITED. # This Software is subject to the terms of the XMOS Public Licence: Version 1. import pytest import Pyxsim diff --git a/tests/test_i2s_loopback/Makefile b/tests/test_i2s_loopback/Makefile index f0e5ae82..5ebac036 100644 --- a/tests/test_i2s_loopback/Makefile +++ b/tests/test_i2s_loopback/Makefile @@ -37,7 +37,7 @@ XCC_FLAGS_simulation_${pcm_format}_${i2s_role}_$(channel_count)in_$(channel_coun -DNUM_USB_CHAN_OUT=${channel_count} \ -DI2S_CHANS_DAC=${channel_count} \ -DI2S_CHANS_ADC=${channel_count} \ - -DEFAULT_FREQ=${sample_rate} + -DDEFAULT_FREQ=${sample_rate} XMOS_MAKE_PATH ?= ../.. -include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common