Private
Public Access
2
0

mraa: Fix compiler warnings unused vars and useless statements

Should have 0 functionality effect, just cleans up a few things. Fixes #577

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-09-13 11:20:40 +01:00
parent 139d42d084
commit 6c85b61daa
11 changed files with 15 additions and 19 deletions

View File

@@ -49,6 +49,7 @@ main()
value = 0.0f;
}
float output = mraa_pwm_read(pwm);
printf("PWM value is %f\n", output);
}
//! [Interesting]
return 0;