Oops, reinstate OBSOLETEAPI - the non-obsolete one gives trash on adc input

This commit is contained in:
Miller Puckette 2024-10-18 17:33:49 -05:00
parent 489cdac0a8
commit 3f60307825
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ static void initdacs( void)
#endif /* PD_LYRAT */
i2s_set_pin(I2S_NUM_0, &i2s_pin_cfg);
}
}
#else /* OBSOLETEAPI */
static void initdacs( void)

View file

@ -6,7 +6,7 @@
#define USEADC /* enable audio input (output always enabled) */
/* #define PD_USE_GYRO */ /* complex Arts board with BNO085 gyro */
#define IOCHANS 2
/* #define OBSOLETEAPI */ /* need this for LyraT boards */
#define OBSOLETEAPI /* need this for LyraT boards */
/* task priorities */
#define PRIORITY_WIFI 2