Fix audio warning with Arduino core 3 (#20000)

* silence warning Core 3

* Update add_c_flags_ard3.py

* Update library.json
This commit is contained in:
Jason2866 2023-11-12 23:55:50 +01:00 committed by GitHub
parent 65e07e8387
commit 34fba6e21e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -2,3 +2,6 @@ Import("env")
# General options that are passed to the C++ compiler
env.Append(CXXFLAGS=["-Wno-volatile"])
# General options that are passed to the C compiler (C only; not C++).
env.Append(CFLAGS=["-Wno-incompatible-pointer-types"])