mraa: rename from maa to mraa
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user