mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
ANDROID: Treat utilities as its own library
Since src/utilities now builds a C/C++ library, other targets which were using symbols from utilities now need to include the correct target dependency. This is mainly for upm_delay* functions. Added utilities-c target to all sensor library CMakeLists.txt which require it. Moved macro for __FILENAME__ from upm_utilities.h to upm_fti.h since ONLY the FTI headers used this. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include "es08a.h"
|
||||
#include "upm_utilities.h"
|
||||
|
||||
es08a_context es08a_init(int32_t pin, int32_t min_pulse_width,
|
||||
int32_t max_pulse_width) {
|
||||
|
@ -23,6 +23,7 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include "es9257.h"
|
||||
#include "upm_utilities.h"
|
||||
|
||||
es9257_context es9257_init(int32_t pin, int32_t min_pulse_width,
|
||||
int32_t max_pulse_width) {
|
||||
|
Reference in New Issue
Block a user