Skip to content

Commit

Permalink
Fixed esp-idf CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jun 4, 2024
1 parent bcd7e2f commit aec6d20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/ESP_IDF_TouchDrv_Example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

set(EXTRA_COMPONENT_DIRS ../../../SensorLib)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ../../../SensorsLib)

project(ESP_IDF_TouchDrv_Example)
4 changes: 4 additions & 0 deletions src/SensorBHI260AP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
*/
#include "SensorBHI260AP.hpp"

#if defined(ARDUINO)
volatile bool SensorBHI260AP::__data_available;
#endif


3 changes: 2 additions & 1 deletion src/SensorBHI260AP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
*/
#pragma once

#if defined(ARDUINO)

#include "bosch/BoschParse.h"
#include "bosch/SensorBhy2Define.h"
#include "bosch/firmware/BHI260AP.fw.h"



#if defined(ARDUINO)

class SensorBHI260AP
{
Expand Down

0 comments on commit aec6d20

Please sign in to comment.