Private
Public Access
2
0

api: add proper doxygen comments to C++ headers and normalise doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-30 17:10:52 +01:00
parent fac705768d
commit 5b191ab6cd
16 changed files with 572 additions and 301 deletions

View File

@@ -41,12 +41,13 @@ sig_handler(int signo)
int main ()
{
signal(SIGINT, sig_handler);
//! [Interesting]
maa::Spi* spi;
spi = new maa::Spi(0);
signal(SIGINT, sig_handler);
uint8_t data[] = {0x00, 100};
uint8_t *recv;
while (running == 0) {
@@ -68,6 +69,7 @@ int main ()
}
delete spi;
//! [Interesting]
return MAA_SUCCESS;
}