Private
Public Access
2
0

pwm: Updated API

* Greater use of maa_result_t
* Added raw mode.
* Updated cycle-pwm3 to use new api.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-04-30 10:30:56 +01:00
parent 804c4a437d
commit ccc4544455
3 changed files with 126 additions and 52 deletions

View File

@@ -30,7 +30,7 @@ int
main ()
{
maa_pwm_context* pwm;
pwm = maa_pwm_init(0, 3);
pwm = maa_pwm_init(3);
if (pwm == NULL) {
return 1;
}