Private
Public Access
2
0

mraa: rename from maa to mraa

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-06-24 17:24:54 +01:00
parent 79d0da4853
commit 6853997a92
74 changed files with 966 additions and 966 deletions

View File

@@ -23,16 +23,16 @@
*/
//! [Interesting]
#include "maa.hpp"
#include "mraa.hpp"
int main ()
{
uint16_t adc_value;
maa::Aio* a0;
mraa::Aio* a0;
a0 = new maa::Aio(0);
a0 = new mraa::Aio(0);
if (a0 == NULL) {
return MAA_ERROR_UNSPECIFIED;
return MRAA_ERROR_UNSPECIFIED;
}
for(;;) {
@@ -40,6 +40,6 @@ int main ()
fprintf(stdout, "ADC A0 read %X - %d\n", adc_value, adc_value);
}
return MAA_SUCCESS;
return MRAA_SUCCESS;
}
//! [Interesting]