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:
@@ -29,6 +29,7 @@
|
||||
int
|
||||
main ()
|
||||
{
|
||||
maa_init();
|
||||
maa_pwm_context* pwm;
|
||||
pwm = maa_pwm_init(0, 3);
|
||||
if (pwm == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user