Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wt_200k_G.c "initializer element is not constant" error with GCC …
…< 8.1 Building with GCC < 8.1 would give the following error: arm-wt-22k/lib_src/wt_200k_G.c:114:5: error: initializer element is not constant 0x00200000 | sampleRate, ^~~~~~~~~~ arm-wt-22k/lib_src/wt_200k_G.c:114:5: note: (near initialization for 'easSoundLib.libAttr') See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960#c18 Using an 'enum' for the 'sampleRate' value is enough for older GCC releases.
- Loading branch information