Private
Public Access
2
0

clang-format: run clang-format on C/C++ code

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-03-23 14:39:12 +00:00
parent 2174ee1673
commit ffcf3d7d07
46 changed files with 1630 additions and 1455 deletions

View File

@@ -27,10 +27,10 @@
#include "mraa.h"
int
main ()
main()
{
mraa_init();
//! [Interesting]
//! [Interesting]
mraa_pwm_context pwm;
pwm = mraa_pwm_init(3);
if (pwm == NULL) {
@@ -50,6 +50,6 @@ main ()
}
float output = mraa_pwm_read(pwm);
}
//! [Interesting]
//! [Interesting]
return 0;
}