maa: add global maa.h and maa.hpp and stop using /usr/include/maa/
* pkg-config now only sees maa.h & maa.hpp
* usage of maa/*.{h,hpp} is still allowed
* examples updated to use maa.{h,hpp}
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
//! [Interesting]
|
||||
#include "aio.h"
|
||||
#include "maa/aio.h"
|
||||
|
||||
int main ()
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gpio.h"
|
||||
#include "maa.h"
|
||||
|
||||
#define DEFAULT_IOPIN 8
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
//! [Interesting]
|
||||
#include "aio.hpp"
|
||||
#include "maa.hpp"
|
||||
|
||||
int main ()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "gpio.hpp"
|
||||
#include "maa.hpp"
|
||||
#define DEFAULT_IOPIN 8
|
||||
|
||||
static int iopin;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "i2c.hpp"
|
||||
#include "maa.hpp"
|
||||
#include "math.h"
|
||||
|
||||
#define MAX_BUFFER_LENGTH 6
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "pwm.hpp"
|
||||
#include "maa.hpp"
|
||||
|
||||
int running = 0;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "spi.hpp"
|
||||
#include "maa.hpp"
|
||||
|
||||
int running = 0;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pwm.h"
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main ()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "stdio.h"
|
||||
#include "unistd.h"
|
||||
|
||||
#include "gpio.h"
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "i2c.h"
|
||||
#include "maa.h"
|
||||
#include "math.h"
|
||||
|
||||
#define MAX_BUFFER_LENGTH 6
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "gpio.h"
|
||||
#include "maa.h"
|
||||
|
||||
static volatile int counter = 0;
|
||||
static volatile int oldcounter = 0;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "stdio.h"
|
||||
#include <unistd.h>
|
||||
|
||||
#include "gpio.h"
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "spi.h"
|
||||
#include "maa.h"
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user