mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 10:51:12 +03:00
mraa: change all existing code to use libmraa.
* Made CMake depend on 0.4 libmraa Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@ -24,8 +24,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <maa/gpio.h>
|
||||
#include <maa/aio.h>
|
||||
#include <mraa/gpio.h>
|
||||
#include <mraa/aio.h>
|
||||
|
||||
struct thresholdContext {
|
||||
long averageReading;
|
||||
@ -80,7 +80,7 @@ class Microphone {
|
||||
void printGraph (thresholdContext* ctx);
|
||||
|
||||
private:
|
||||
maa_aio_context m_micCtx;
|
||||
mraa_aio_context m_micCtx;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user