From f265924396167729e8d9fb36a0383263f36c1270 Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 27 Feb 2018 17:44:21 +1000 Subject: First set of V3 macro changes --- drivers/gaudio/vs1053/gaudio_play_config.h | 6 +++--- drivers/gaudio/vs1053/gaudio_play_vs1053.c | 2 +- drivers/gaudio/vs1053/readme.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'drivers/gaudio/vs1053') diff --git a/drivers/gaudio/vs1053/gaudio_play_config.h b/drivers/gaudio/vs1053/gaudio_play_config.h index 51a3d273..b0b17a8c 100644 --- a/drivers/gaudio/vs1053/gaudio_play_config.h +++ b/drivers/gaudio/vs1053/gaudio_play_config.h @@ -22,7 +22,7 @@ * No testing is made of the file format - if there is an error it can only be detected by the codec chip * and its behaviour is undefined (we haven't tested). * Note that some formats require a firmware patch to be installed to play correctly. - * In this case define VS1053_FIRMWARE_PATCH as TRUE in your gfxconf.h file and include the patch file + * In this case define VS1053_FIRMWARE_PATCH as GFXON in your gfxconf.h file and include the patch file * in your project directory. The patch file MUST be called "vs1053_patch.plg". */ #define GAUDIO_PLAY_MAX_SAMPLE_FREQUENCY 48000 @@ -32,8 +32,8 @@ #define GAUDIO_PLAY_FORMAT3 ARRAY_DATA_UNKNOWN #define GAUDIO_PLAY_FORMAT_FILE ARRAY_DATA_UNKNOWN #define GAUDIO_PLAY_NUM_CHANNELS 2 -#define GAUDIO_PLAY_CHANNEL0_IS_STEREO FALSE -#define GAUDIO_PLAY_CHANNEL1_IS_STEREO TRUE +#define GAUDIO_PLAY_CHANNEL0_IS_STEREO GFXOFF +#define GAUDIO_PLAY_CHANNEL1_IS_STEREO GFXON #define GAUDIO_PLAY_MONO 0 #define GAUDIO_PLAY_STEREO 1 diff --git a/drivers/gaudio/vs1053/gaudio_play_vs1053.c b/drivers/gaudio/vs1053/gaudio_play_vs1053.c index 2aab288c..c96ec036 100644 --- a/drivers/gaudio/vs1053/gaudio_play_vs1053.c +++ b/drivers/gaudio/vs1053/gaudio_play_vs1053.c @@ -23,7 +23,7 @@ #define VS1053_CLK 12288000 #endif #ifndef VS1053_FIRMWARE_PATCH - #define VS1053_FIRMWARE_PATCH FALSE + #define VS1053_FIRMWARE_PATCH GFXOFF #endif #ifndef VS1053_POLL_RATE #define VS1053_POLL_RATE 5 diff --git a/drivers/gaudio/vs1053/readme.txt b/drivers/gaudio/vs1053/readme.txt index d5d10145..3b0ded50 100644 --- a/drivers/gaudio/vs1053/readme.txt +++ b/drivers/gaudio/vs1053/readme.txt @@ -10,5 +10,5 @@ Requires GFX_USE_GTIMER * No testing is made of the file format - if there is an error it can only be detected by the codec chip * and its behaviour is undefined (we haven't tested). * Note that some formats require a firmware patch to be installed to play correctly. - * In this case define VS1053_FIRMWARE_PATCH as TRUE in your gfxconf.h file and include the patch file + * In this case define VS1053_FIRMWARE_PATCH as GFXON in your gfxconf.h file and include the patch file * in your project directory. The patch file MUST be called "vs1053_patch.plg". -- cgit v1.2.3