File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ else()
25
25
file (GLOB_RECURSE SRC_LIST_CPP CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR} /src/*.cpp" )
26
26
27
27
# define libraries
28
- add_library (audio_driver ${SRC_LIST_C} ${GLOB_RECURSE SRC_LIST_CPP})
28
+ add_library (audio_driver ${SRC_LIST_C} ${SRC_LIST_CPP} )
29
29
30
30
# prevent compile errors
31
31
target_compile_options (audio_driver PRIVATE -DUSE_DEFAULT_STDLIB)
32
32
33
33
# define location for header files
34
- target_include_directories (audio_driver PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /src ${CMAKE_CURRENT_SOURCE_DIR} /src/libhelix-mp3 ${CMAKE_CURRENT_SOURCE_DIR} /src/libhelix-aac )
34
+ target_include_directories (audio_driver PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /src )
35
35
36
36
endif ()
Original file line number Diff line number Diff line change 22
22
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
23
* THE SOFTWARE.
24
24
*/
25
+ #ifdef ARDUINO
25
26
26
27
#include " ad1938.h"
27
28
@@ -774,3 +775,4 @@ bool AD1938::setMuteADC(bool mute) {
774
775
}
775
776
776
777
778
+ #endif
Original file line number Diff line number Diff line change 23
23
*/
24
24
25
25
#include <string.h>
26
+ #include <assert.h>
26
27
#include "es8311.h"
27
28
28
-
29
29
#ifndef BIT
30
30
#define BIT (nr ) (1 << (nr))
31
31
#endif
You can’t perform that action at this time.
0 commit comments