Private
Public Access
2
0

examples: Update examples to use newer maa functions

* Use maa_init() before any other maa functions are called
* Use ioNN instead of gpioXX, Using mapping

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-01 17:08:54 +01:00
parent e96df16f75
commit ea81a0ba75
8 changed files with 11 additions and 4 deletions

View File

@@ -78,6 +78,7 @@
int
main(int argc, char **argv)
{
maa_init();
float direction = 0;
int16_t x = 0, y = 0, z = 0;
char rx_tx_buf[MAX_BUFFER_LENGTH];