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

@@ -38,10 +38,11 @@ sig_handler(int signo)
}
}
int main ()
int
main()
{
signal(SIGINT, sig_handler);
//! [Interesting]
//! [Interesting]
mraa::Pwm* pwm;
pwm = new mraa::Pwm(3);
@@ -61,7 +62,7 @@ int main ()
}
}
delete pwm;
//! [Interesting]
//! [Interesting]
return MRAA_SUCCESS;
}